[etoys-dev] [SVN][841] fix postflight script as reported by Eric Tippett
commits at etoys.squeak.org
commits at etoys.squeak.org
Sat Jul 16 08:37:35 EDT 2011
Repository: http://etoys.squeak.org/svn
Revision: 841
Author: bf
Date: 2011-07-16 12:37:33 +0000 (Sat, 16 Jul 2011)
Log Message:
-----------
fix postflight script as reported by Eric Tippett
Modified Paths:
--------------
trunk/installers/os-x/assets/scripts/postflight
-------------- next part --------------
Modified: trunk/installers/os-x/assets/scripts/postflight
===================================================================
--- trunk/installers/os-x/assets/scripts/postflight 2011-07-02 02:00:42 UTC (rev 840)
+++ trunk/installers/os-x/assets/scripts/postflight 2011-07-16 12:37:33 UTC (rev 841)
@@ -5,6 +5,13 @@
# v 1.4 Aug 6th, 2009, bf remove all the alias stuff
# v 1.5 Sep 18th, 2009, bf deal with version in app name
-# Force finder to update
-touch "/Applications/Etoys 4.app"
-exit 0
+APP="/Applications/Etoys 4.1.app"
+if [ -d "$APP" ] ; then
+ # Force finder to update
+ touch "$APP"
+ exit 0
+else
+ # forgot to change version number above?
+ echo "Error in postflight: $APP not found"
+ exit 1
+fi
More information about the etoys-dev
mailing list