- Add a hook to remove any foomatic data cached by system-config-printer.

This commit is contained in:
Tim Waugh 2005-03-24 17:03:32 +00:00
parent adb0f0151f
commit 6a71310cd7

View File

@ -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.