Author: nextgens
Date: 2006-07-04 12:14:41 +0000 (Tue, 04 Jul 2006)
New Revision: 9465

Modified:
   trunk/apps/installer/installclasspath/linux/update.sh
   trunk/apps/installer/installclasspath/windows/update.cmd
Log:
updater: update the updating scripts to ensure we are using the *latest* jar in 
wrapper.conf

Modified: trunk/apps/installer/installclasspath/linux/update.sh
===================================================================
--- trunk/apps/installer/installclasspath/linux/update.sh       2006-07-04 
11:09:42 UTC (rev 9464)
+++ trunk/apps/installer/installclasspath/linux/update.sh       2006-07-04 
12:14:41 UTC (rev 9465)
@@ -102,6 +102,9 @@
        fi
 fi

+sed 's/freenet-cvs-snapshot.jar.new/freenet-cvs-snapshot/g' wrapper.conf 
>wrapper2.conf
+mv wrapper2.conf wrapper.conf
+
 $DOWNLOADER3 
https://emu.freenetproject.org/svn/trunk/apps/installer/installclasspath/linux/update.sh
 touch update.sh update2.sh
 diff --brief update.sh update2.sh

Modified: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd    2006-07-04 
11:09:42 UTC (rev 9464)
+++ trunk/apps/installer/installclasspath/windows/update.cmd    2006-07-04 
12:14:41 UTC (rev 9465)
@@ -25,6 +25,10 @@
 echo - Freenet installation found at %LOCATION%
 echo -----

+if not exist wrapper.conf.bak copy wrapper.conf wrapper.conf.bak
+del wrapper.conf
+copy wrapper.conf.bak wrapper.conf
+
 ::Get the filename and skip straight to the Freenet update if this is a new 
updater
 for %%I in (%0) do set FILENAME=%%~nxI
 if %FILENAME%==update.new.cmd goto updaterok


Reply via email to