- Don't remove the cache directory, only its contents (bug #177266).
This commit is contained in:
parent
378878057d
commit
c5511ca5b2
@ -228,9 +228,7 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/perl5/site_perl \
|
||||
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 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
||||
%{_var}/cache/foomatic
|
||||
|
||||
%changelog
|
||||
* Tue Jan 10 2006 Tim Waugh <twaugh@redhat.com>
|
||||
- Don't remove the cache directory, only its contents (bug #177266).
|
||||
|
||||
* Tue Jan 3 2006 Tim Waugh <twaugh@redhat.com> 3.0.2-30
|
||||
- Updated db to 3.0-20060103.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user