really don't barf on missing gimp-plugin-mgr when updating (#208159)
Resolves: #208159
This commit is contained in:
parent
4c8b831489
commit
9692474e63
13
xsane.spec
13
xsane.spec
@ -3,7 +3,7 @@
|
|||||||
Name: xsane
|
Name: xsane
|
||||||
Summary: An X Window System front-end for the SANE scanner interface.
|
Summary: An X Window System front-end for the SANE scanner interface.
|
||||||
Version: 0.991
|
Version: 0.991
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
|
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
|
||||||
Source1: xsane.desktop
|
Source1: xsane.desktop
|
||||||
Source2: xsane.conf.in
|
Source2: xsane.conf.in
|
||||||
@ -105,14 +105,21 @@ rm -rf %{buildroot}
|
|||||||
%config %{_sysconfdir}/gimp/plugins.d/xsane.conf
|
%config %{_sysconfdir}/gimp/plugins.d/xsane.conf
|
||||||
|
|
||||||
%post gimp
|
%post gimp
|
||||||
test -x "%{_sbindir}/gimp-plugin-mgr" && %{_sbindir}/gimp-plugin-mgr --install xsane
|
if [ -x "%{_sbindir}/gimp-plugin-mgr"]; then
|
||||||
|
%{_sbindir}/gimp-plugin-mgr --install xsane
|
||||||
|
fi
|
||||||
|
|
||||||
%preun gimp
|
%preun gimp
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
test -x "%{_sbindir}/gimp-plugin-mgr" && %{_sbindir}/gimp-plugin-mgr --uninstall xsane
|
if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
|
||||||
|
%{_sbindir}/gimp-plugin-mgr --uninstall xsane
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 23 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-3
|
||||||
|
- really don't barf on missing gimp-plugin-mgr when updating (#208159)
|
||||||
|
|
||||||
* Mon Oct 02 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-2
|
* Mon Oct 02 2006 Nils Philippsen <nphilipp@redhat.com> - 0.991-2
|
||||||
- don't barf on missing gimp-plugin-mgr when updating (#208159)
|
- don't barf on missing gimp-plugin-mgr when updating (#208159)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user