[freenet-cvs] r18319 - trunk/apps/new_installer/res/unix/bin

nextgens at freenetproject.org nextgens at freenetproject.org
Mon Mar 3 13:25:08 UTC 2008


Author: nextgens
Date: 2008-03-03 13:25:08 +0000 (Mon, 03 Mar 2008)
New Revision: 18319

Modified:
   trunk/apps/new_installer/res/unix/bin/install_updater.sh
Log:
new_installer: trivial patch to suppress a warning when offline mode is enabled

Modified: trunk/apps/new_installer/res/unix/bin/install_updater.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/install_updater.sh	2008-03-02 18:23:26 UTC (rev 18318)
+++ trunk/apps/new_installer/res/unix/bin/install_updater.sh	2008-03-03 13:25:08 UTC (rev 18319)
@@ -18,4 +18,8 @@
 	echo "Downloading update.sh"
 	java -jar bin/sha1test.jar update/update.sh >/dev/null 2>&1 || exit 1
 fi
-chmod a+rx update.sh
+
+if test -e update.sh
+then
+	chmod a+rx update.sh
+fi




More information about the cvs mailing list