Author: nextgens
Date: 2006-08-06 09:13:44 +0000 (Sun, 06 Aug 2006)
New Revision: 9924
Modified:
trunk/apps/installer/installclasspath/linux/update.sh
trunk/apps/installer/installclasspath/windows/update.cmd
Log:
update the updating scripts
Modified: trunk/apps/installer/installclasspath/linux/update.sh
===================================================================
--- trunk/apps/installer/installclasspath/linux/update.sh 2006-08-06
09:08:13 UTC (rev 9923)
+++ trunk/apps/installer/installclasspath/linux/update.sh 2006-08-06
09:13:44 UTC (rev 9924)
@@ -21,12 +21,12 @@
then
WGET=0
DOWNLOADER="curl --insecure -q -f -L -O "
- DOWNLOADER2="curl --insecure -q -f -L -O
http://downloads.freenetproject.org/alpha/freenet-cvs-snapshot.jar"
+ DOWNLOADER2="curl --insecure -q -f -L -O
http://downloads.freenetproject.org/alpha/freenet-stable-latest.jar"
DOWNLOADER3="curl --insecure -q -f -L -O "
else
WGET=1
DOWNLOADER="wget $THEMASK -N "
- DOWNLOADER2="wget $THEMASK -N -i freenet-cvs-snapshot.jar.url"
+ DOWNLOADER2="wget $THEMASK -N -i freenet-stable-latest.jar.url"
DOWNLOADER3="wget $THEMASK -N -O update2.sh $NOCERT "
fi
@@ -57,11 +57,11 @@
cp freenet-cvs-snapshot.jar freenet-cvs-snapshot.jar.old
cp freenet-ext.jar freenet-ext.jar.old
-if java -cp sha1test.jar Sha1Test freenet-cvs-snapshot.jar
+if java -cp sha1test.jar Sha1Test freenet-stable-latest.jar
then
- echo Downloaded freenet-cvs-snapshot.jar
+ echo Downloaded freenet-stable-latest.jar
else
- echo Could not download new freenet-cvs-snapshot.jar.
+ echo Could not download new freenet-stable-latest.jar.
exit
fi
Modified: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd 2006-08-06
09:08:13 UTC (rev 9923)
+++ trunk/apps/installer/installclasspath/windows/update.cmd 2006-08-06
09:13:44 UTC (rev 9924)
@@ -70,7 +70,7 @@
echo -----
echo - Checking for Freenet updates...
if exist freenet-cvs-snapshot.jar.new.url del freenet-cvs-snapshot.jar.new.url
-bin\wget.exe -o NUL --timeout=10 --waitretry=20
http://downloads.freenetproject.org/alpha/freenet-cvs-snapshot.jar.url -O
freenet-cvs-snapshot.jar.new.url
+bin\wget.exe -o NUL --timeout=10 --waitretry=20
http://downloads.freenetproject.org/alpha/freenet-stable-latest.jar.url -O
freenet-cvs-snapshot.jar.new.url
if not exist freenet-cvs-snapshot.jar.new.url goto error3
FOR %%I IN ("%LOCATION%freenet-cvs-snapshot.jar.url") DO if %%~zI==0 goto
error3
@@ -102,7 +102,7 @@
echo - Downloading new version and updating local installation...
if exist freenet-cvs-snapshot.jar.bak del freenet-cvs-snapshot.jar.bak
if exist freenet-cvs-snapshot.jar ren freenet-cvs-snapshot.jar
freenet-cvs-snapshot.jar.bak
-bin\wget.exe -o NUL --timeout=10 --waitretry=20 -i
freenet-cvs-snapshot.jar.new.url -O freenet-cvs-snapshot.jar
+bin\wget.exe -o NUL --timeout=10 --waitretry=20 -i
freenet-stable-latest.jar.new.url -O freenet-cvs-snapshot.jar
if not exist freenet-cvs-snapshot.jar goto error4
FOR %%I IN ("%LOCATION%freenet-cvs-snapshot.jar") DO if %%~zI==0 goto error4