From b6f8e6a558e23215e8ff746e64f9bc3891f92387 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 13 Jun 2006 14:32:37 +0000 Subject: [PATCH] - Remove old-style certs directory after upgrade (bug #194581). --- cups.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cups.spec b/cups.spec index 4fe104a..edfd526 100644 --- a/cups.spec +++ b/cups.spec @@ -5,7 +5,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.2.1 -Release: 9 +Release: 10 License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -285,6 +285,9 @@ exit 0 %postun if [ "$1" -ge "1" ]; then /sbin/service cups condrestart > /dev/null 2>&1 + # Remove old-style certs directory; new-style is /var/run + # (see bug #194581 for why this is necessary). + rm -rf /etc/cups/certs fi exit 0 @@ -389,6 +392,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Tue Jun 13 2006 Tim Waugh 1:1.2.1-10 +- Remove old-style certs directory after upgrade (bug #194581). + * Wed Jun 7 2006 Tim Waugh 1:1.2.1-9 - Prevent 'too many open files' error (STR #1736, bug #194368).