Author: nextgens
Date: 2006-08-07 20:40:39 +0000 (Mon, 07 Aug 2006)
New Revision: 9957

Modified:
   trunk/apps/installer/installclasspath/linux/update.sh
Log:
new update.sh

Modified: trunk/apps/installer/installclasspath/linux/update.sh
===================================================================
--- trunk/apps/installer/installclasspath/linux/update.sh       2006-08-07 
20:28:48 UTC (rev 9956)
+++ trunk/apps/installer/installclasspath/linux/update.sh       2006-08-07 
20:40:39 UTC (rev 9957)
@@ -54,8 +54,16 @@
 then
        echo Downloaded update.sh
        chmod +x update.sh
-       exec ./update.sh
-       exit
+
+       touch update.sh update2.sh
+       if cmp update.sh update2.sh &>/dev/null
+       then
+               echo "Your update.sh is up to date"
+       else
+               cp update.sh update2.sh
+               exec ./update.sh
+               exit
+       fi
 else
        echo Could not download new update.sh.
        exit


Reply via email to