Author: toad
Date: 2008-04-03 15:05:22 +0000 (Thu, 03 Apr 2008)
New Revision: 18958

Modified:
   trunk/apps/installer/installclasspath/linux/update.sh
Log:
Fix the then, and the rmdir

Modified: trunk/apps/installer/installclasspath/linux/update.sh
===================================================================
--- trunk/apps/installer/installclasspath/linux/update.sh       2008-04-03 
14:56:13 UTC (rev 18957)
+++ trunk/apps/installer/installclasspath/linux/update.sh       2008-04-03 
15:05:22 UTC (rev 18958)
@@ -144,7 +144,8 @@
        if cmp freenet.jar download-temp/freenet-$RELEASE-latest.jar
        then
                # freenet.jar is up to date
-               if cmp download-temp/freenet-ext.jar freenet-ext.jar then
+               if cmp download-temp/freenet-ext.jar freenet-ext.jar
+               then
                        echo Your node is up to date
                else
                        echo Restarting node because freenet-ext.jar updated.
@@ -163,7 +164,7 @@
        fi
 fi

-rm -f download-temp/freenet-$RELEASE-latest.jar download-temp/freenet-ext.jar
+rm -f download-temp/freenet-$RELEASE-latest.jar* download-temp/freenet-ext.jar*
 rmdir download-temp

 cd $WHEREAMI


Reply via email to