From a8285b63239fbe045b45711554aaaadbb1d6efe9 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 7 Aug 2009 11:05:58 +0000 Subject: [PATCH] - Clear out cache files on upgrade. --- cups.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cups.spec b/cups.spec index a5edcdf..ffa6434 100644 --- a/cups.spec +++ b/cups.spec @@ -373,10 +373,7 @@ install -m644 %{SOURCE3} \ --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz \ --initscript cups %endif -if [ $1 -eq 1 ]; then - # First install. Build ppds.dat. - /sbin/service cups reload >/dev/null 2>&1 || : -fi +rm -f %{_localstatedir}/cache/cups/* exit 0 %post libs -p /sbin/ldconfig @@ -524,6 +521,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Fri Aug 7 2009 Tim Waugh 1:1.4-0.rc1.14 +- Clear out cache files on upgrade. - Require acl. * Thu Aug 6 2009 Tim Waugh 1:1.4-0.rc1.13