don't barf on missing gimp-plugin-mgr when updating (#208159)

This commit is contained in:
Nils Philippsen 2006-10-02 14:58:01 +00:00
parent 76b75c5c55
commit 4c8b831489

View File

@ -3,7 +3,7 @@
Name: xsane
Summary: An X Window System front-end for the SANE scanner interface.
Version: 0.991
Release: 1%{?dist}
Release: 2%{?dist}
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
Source1: xsane.desktop
Source2: xsane.conf.in
@ -105,14 +105,17 @@ rm -rf %{buildroot}
%config %{_sysconfdir}/gimp/plugins.d/xsane.conf
%post gimp
%{_sbindir}/gimp-plugin-mgr --install xsane
test -x "%{_sbindir}/gimp-plugin-mgr" && %{_sbindir}/gimp-plugin-mgr --install xsane
%preun gimp
if [ $1 = 0 ]; then
%{_sbindir}/gimp-plugin-mgr --uninstall xsane
test -x "%{_sbindir}/gimp-plugin-mgr" && %{_sbindir}/gimp-plugin-mgr --uninstall xsane
fi
%changelog
* Mon Oct 02 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-2
- don't barf on missing gimp-plugin-mgr when updating (#208159)
* Mon Aug 28 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-1
- version 0.991
- remove obsolete buffer patch