- Add a hook to remove any foomatic data cached by system-config-printer.
This commit is contained in:
parent
adb0f0151f
commit
6a71310cd7
@ -241,6 +241,10 @@ 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
|
||||
|
||||
# Try to rebuild the printconf data
|
||||
if [ -x /usr/share/printconf/util/updateconf.py ] ; then
|
||||
/usr/share/printconf/util/updateconf.py >/dev/null 2>&1
|
||||
@ -272,6 +276,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 24 2005 Tim Waugh <twaugh@redhat.com>
|
||||
- Add a hook to remove any foomatic data cached by system-config-printer.
|
||||
|
||||
* Thu Mar 10 2005 Tim Waugh <twaugh@redhat.com> 3.0.2-18
|
||||
- Updated db to 20050310.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user