]> git.pld-linux.org Git - packages/gdk-pixbuf2.git/blobdiff - gdk-pixbuf2.spec
- fix uninstall of one arch in multilib installs when both arch pkgs were present
[packages/gdk-pixbuf2.git] / 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.022281 seconds and 4 git commands to generate.