]> git.pld-linux.org Git - packages/gdk-pixbuf2.git/commitdiff
- fix uninstall of one arch in multilib installs when both arch pkgs were present
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 1 Mar 2012 19:02:30 +0000 (19:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdk-pixbuf2.spec -> 1.28

gdk-pixbuf2.spec

index d2d1f6e95613707a6b8e1214dbbe76dc6b7cb694..a484e4b5607a5ceca7005e7672f755499e1402bf 100644 (file)
@@ -140,6 +140,8 @@ umask 022
 /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
 
This page took 0.035626 seconds and 4 git commands to generate.