rpms/foomatic/devel foomatic.spec,1.124,1.125

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 10 13:27:56 UTC 2006


Author: twaugh

Update of /cvs/dist/rpms/foomatic/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9688

Modified Files:
	foomatic.spec 
Log Message:
* Tue Jan 10 2006 Tim Waugh <twaugh at redhat.com>
- Don't remove the cache directory, only its contents (bug #177266).



Index: foomatic.spec
===================================================================
RCS file: /cvs/dist/rpms/foomatic/devel/foomatic.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- foomatic.spec	3 Jan 2006 13:08:39 -0000	1.124
+++ foomatic.spec	10 Jan 2006 13:27:54 -0000	1.125
@@ -228,9 +228,7 @@
 find $RPM_BUILD_ROOT -name .packlist -o -name '*.xml.*' | xargs rm -f
 
 %post
-if [ -d /var/cache/foomatic ] ; then
-   /bin/rm -rf /var/cache/foomatic
-fi
+/bin/rm -f /var/cache/foomatic/*
 
 # Try to rebuild the printconf data
 if [ -x /usr/share/printconf/util/updateconf.py ] ; then
@@ -265,6 +263,9 @@
 %{_var}/cache/foomatic
 
 %changelog
+* Tue Jan 10 2006 Tim Waugh <twaugh at redhat.com>
+- Don't remove the cache directory, only its contents (bug #177266).
+
 * Tue Jan  3 2006 Tim Waugh <twaugh at redhat.com> 3.0.2-30
 - Updated db to 3.0-20060103.
 




More information about the fedora-cvs-commits mailing list