rpms/gimp/devel gimp.spec,1.123,1.124

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue May 1 07:46:32 UTC 2007


Author: nphilipp

Update of /cvs/dist/rpms/gimp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15224

Modified Files:
	gimp.spec 
Log Message:
don't let gimp-plugin-mgr --uninstall fail %pre/%preun scriptlets



Index: gimp.spec
===================================================================
RCS file: /cvs/dist/rpms/gimp/devel/gimp.spec,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- gimp.spec	30 Apr 2007 19:37:26 -0000	1.123
+++ gimp.spec	1 May 2007 07:46:30 -0000	1.124
@@ -273,7 +273,7 @@
 # First, remove old symlinks which are possibly in an old location (before a
 # major version update)
 if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
-    %{_sbindir}/gimp-plugin-mgr --uninstall '*'
+    %{_sbindir}/gimp-plugin-mgr --uninstall '*' || :
 fi
 
 %post
@@ -288,7 +288,7 @@
 %preun
 # Only delete symlinks when uninstalling
 if [ "$1" = "0" ]; then
-    %{_sbindir}/gimp-plugin-mgr --uninstall '*'
+    %{_sbindir}/gimp-plugin-mgr --uninstall '*' || :
 fi
 
 %postun
@@ -421,6 +421,9 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Tue May 01 2007 Nils Philippsen <nphilipp at redhat.com> - 2:2.2.14-5
+- don't let gimp-plugin-mgr --uninstall fail %%pre/%%preun scriptlets
+
 * Mon Apr 30 2007 Nils Philippsen <nphilipp at redhat.com> - 2:2.2.14-4
 - fix plugin symlinks handling better (#238337)
 




More information about the fedora-cvs-commits mailing list