packages: gdk-pixbuf2/gdk-pixbuf2.spec - fix uninstall of one arch in multi...

glen glen at pld-linux.org
Thu Mar 1 20:02:36 CET 2012


Author: glen                         Date: Thu Mar  1 19:02:36 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix uninstall of one arch in multilib installs when both arch pkgs were present

---- Files affected:
packages/gdk-pixbuf2:
   gdk-pixbuf2.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: packages/gdk-pixbuf2/gdk-pixbuf2.spec
diff -u packages/gdk-pixbuf2/gdk-pixbuf2.spec:1.27 packages/gdk-pixbuf2/gdk-pixbuf2.spec:1.28
--- packages/gdk-pixbuf2/gdk-pixbuf2.spec:1.27	Wed Feb  8 18:49:43 2012
+++ packages/gdk-pixbuf2/gdk-pixbuf2.spec	Thu Mar  1 20:02:30 2012
@@ -141,6 +141,8 @@
 /sbin/ldconfig
 if [ "$1" != "0" ]; then
 	umask 022
+	# the $1 check does not match for multilib installs, check also that the binary still exists
+	[ ! -x %{_bindir}/gdk-pixbuf-query-loaders%{pqext} ] || \
 	%{_bindir}/gdk-pixbuf-query-loaders%{pqext} --update-cache || :
 fi
 
@@ -183,6 +185,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2012/03/01 19:02:30  glen
+- fix uninstall of one arch in multilib installs when both arch pkgs were present
+
 Revision 1.27  2012/02/08 17:49:43  adamg
 - release 6 (rebuild against libpng-1.5)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdk-pixbuf2/gdk-pixbuf2.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list