Author: nextgens Date: 2006-08-06 10:07:35 +0000 (Sun, 06 Aug 2006) New Revision: 9934
Modified: trunk/apps/installer/installclasspath/windows/update.cmd Log: maybe fix the update.cmd script (not tested) Modified: trunk/apps/installer/installclasspath/windows/update.cmd =================================================================== --- trunk/apps/installer/installclasspath/windows/update.cmd 2006-08-06 10:00:10 UTC (rev 9933) +++ trunk/apps/installer/installclasspath/windows/update.cmd 2006-08-06 10:07:35 UTC (rev 9934) @@ -50,6 +50,9 @@ find "FREENET W%MAGICSTRING%WS UPDATE SCRIPT" update.new.cmd > NUL if errorlevel 1 goto error1 +find "freenet-cvs-snapshot" wrapper.conf > NUL +if errorlevel 1 goto error5 + ::Check if updater has been updated fc update.cmd update.new.cmd > NUL if not errorlevel 1 goto updaterok @@ -138,6 +141,13 @@ if exist freenet-stable-latest.jar.url del freenet-stable-latest.jar.url goto end +:error5 +echo - Your wrapper.conf needs to be updated .... updating it ; please restart the script when done. +ren wrapper.conf wrapper.conf.bak +del wrapper.conf +bin\wget.exe -o NUL --timeout=10 --waitretry=20 http://downloads.freenetproject.org/alpha/update/wrapper.conf -O wrapper.conf +goto end + :end echo ----- echo - Cleaning up...
