Author: nextgens
Date: 2007-04-08 16:25:11 +0000 (Sun, 08 Apr 2007)
New Revision: 12555

Modified:
   trunk/apps/new_installer/res/windows/bin/install_updater.cmd
Log:
new_installer: fix a bug when you don't select auto-update

Modified: trunk/apps/new_installer/res/windows/bin/install_updater.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_updater.cmd        
2007-04-08 15:46:23 UTC (rev 12554)
+++ trunk/apps/new_installer/res/windows/bin/install_updater.cmd        
2007-04-08 16:25:11 UTC (rev 12555)
@@ -6,5 +6,8 @@
 @echo "Downloading update.cmd"
 @java -jar bin\sha1test.jar update/update.cmd . > NUL
 @echo node.updater.enabled=true >> freenet.ini
- at if exist update echo node.updater.autoupdate=true >> freenet.ini
+
+ at if not exist update goto noautoupdate
+ at echo node.updater.autoupdate=true >> freenet.ini
 @del /F update > NUL
+:noautoupdate


Reply via email to