- Remove old-style certs directory after upgrade (bug #194581).

This commit is contained in:
Tim Waugh 2006-06-13 14:32:37 +00:00
parent 203c213ecf
commit b6f8e6a558

View File

@ -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 <twaugh@redhat.com> 1:1.2.1-10
- Remove old-style certs directory after upgrade (bug #194581).
* Wed Jun 7 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.1-9
- Prevent 'too many open files' error (STR #1736, bug #194368).