Author: toad
Date: 2006-06-16 16:25:56 +0000 (Fri, 16 Jun 2006)
New Revision: 9232

Modified:
   trunk/apps/installer/installclasspath/linux/update.sh
Log:
retry a few times to download sha1test.jar, if it fails the first time.

Modified: trunk/apps/installer/installclasspath/linux/update.sh
===================================================================
--- trunk/apps/installer/installclasspath/linux/update.sh       2006-06-16 
16:07:06 UTC (rev 9231)
+++ trunk/apps/installer/installclasspath/linux/update.sh       2006-06-16 
16:25:56 UTC (rev 9232)
@@ -31,8 +31,15 @@

 if [[ ! -s sha1test.jar ]]
 then
-       echo Downloading sha1test.jar utility jar which will download the 
actual update.
-       $DOWNLOADER https://emu.freenetproject.org/sha1test.jar
+       for x in 1 2 3 4 5
+       do
+               echo Downloading sha1test.jar utility jar which will download 
the actual update.
+               $DOWNLOADER https://emu.freenetproject.org/sha1test.jar
+               if [[ -s sha1test.jar ]]
+               then
+                       break
+               fi
+       done
        if [[ ! -s sha1test.jar ]]
        then
                echo Could not download Sha1Test. The servers may be offline?


Reply via email to