Solaris/SUNWgnome-games.spec
changeset 6919 fe2ec42374d0
parent 6853 ccc2c169fb63
child 7242 19b994b053db
--- a/Solaris/SUNWgnome-games.spec	Mon Mar 13 15:52:23 2006 +0000
+++ b/Solaris/SUNWgnome-games.spec	Mon Mar 13 16:22:58 2006 +0000
@@ -120,6 +120,7 @@
 ) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u
 
 %postun share
+test -x $PKG_INSTALL_ROOT/usr/lib/postrun || exit 0
 ( echo 'test -x /usr/bin/update-desktop-database || exit 0';
   echo '/usr/bin/update-desktop-database'
 ) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u