Solaris/SUNWgnome-keyring-manager.spec
changeset 8278 cec39f440933
parent 8277 fd966f3559d9
child 8565 b102e7809c6e
--- a/Solaris/SUNWgnome-keyring-manager.spec	Fri Oct 06 01:40:38 2006 +0000
+++ b/Solaris/SUNWgnome-keyring-manager.spec	Fri Oct 06 01:48:32 2006 +0000
@@ -89,16 +89,16 @@
 %post root
 ( echo 'test -x /usr/bin/gconftool-2 || {';
   echo '  echo "ERROR: gconftool-2 not found"';
-  echo '  exit 0';
+  echo '  exit 1';
   echo '}';
   echo 'umask 0022';
   echo 'GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults';
   echo 'export GCONF_CONFIG_SOURCE';
   echo '/usr/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas'
-) | $PKG_INSTALL_ROOT/usr/lib/postrun -u -c JDS_wait
+) | $BASEDIR/var/lib/postrun/postrun -u -c JDS_wait
 
 %preun root
-test -x $PKG_INSTALL_ROOT/usr/lib/postrun || exit 0
+test -x $BASEDIR/var/lib/postrun/postrun || exit 0
 ( echo 'test -x /usr/bin/gconftool-2 || {';
   echo '  echo "ERROR: gconftool-2 not found"';
   echo '  exit 0';
@@ -111,7 +111,7 @@
   echo 'SDIR=$PKG_INSTALL_ROOT%{_sysconfdir}/gconf/schemas';
   echo 'schemas="$SDIR/gnome-keyring-manager.schemas"';
   echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
-) | $PKG_INSTALL_ROOT/usr/lib/postrun -i -c JDS -a
+) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
 
 %files
 %defattr (-, root, bin)