Author: nextgens
Date: 2008-05-28 13:31:28 +0000 (Wed, 28 May 2008)
New Revision: 20111
Modified:
trunk/apps/new_installer/res/unix/run.sh
Log:
new_installer: add the bits needed for it to be usable by the tarball too
Modified: trunk/apps/new_installer/res/unix/run.sh
===================================================================
--- trunk/apps/new_installer/res/unix/run.sh 2008-05-28 13:11:03 UTC (rev
20110)
+++ trunk/apps/new_installer/res/unix/run.sh 2008-05-28 13:31:28 UTC (rev
20111)
@@ -58,6 +58,12 @@
exit 1
fi
+if test ! -s freenet.ini
+then
+ exec ./bin/1run.sh
+ exit
+fi
+
# and get java implementation too, Sun JDK or Kaffe
JAVA_IMPL=`java -version 2>&1 | head -n 1 | cut -f1 -d' '`