rpms/xsane/devel xsane.spec,1.39,1.40

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Oct 2 14:58:03 UTC 2006


Author: nphilipp

Update of /cvs/dist/rpms/xsane/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17244

Modified Files:
	xsane.spec 
Log Message:
don't barf on missing gimp-plugin-mgr when updating (#208159)



Index: xsane.spec
===================================================================
RCS file: /cvs/dist/rpms/xsane/devel/xsane.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- xsane.spec	28 Aug 2006 07:04:51 -0000	1.39
+++ xsane.spec	2 Oct 2006 14:58:01 -0000	1.40
@@ -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 @@
 %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 at redhat.com> - 0.991-2
+- don't barf on missing gimp-plugin-mgr when updating (#208159)
+
 * Mon Aug 28 2006 Nils Philippsen <nphilipp at redhat.com> - 0.991-1
 - version 0.991
 - remove obsolete buffer patch




More information about the fedora-cvs-commits mailing list