Author: nextgens
Date: 2007-05-24 22:29:41 +0000 (Thu, 24 May 2007)
New Revision: 13364
Added:
trunk/apps/new_installer/res/unix/bin/install_upnp.sh
Log:
new_installer: doh, I forgot one file
Added: trunk/apps/new_installer/res/unix/bin/install_upnp.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/install_upnp.sh
(rev 0)
+++ trunk/apps/new_installer/res/unix/bin/install_upnp.sh 2007-05-24
22:29:41 UTC (rev 13364)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+INSTALL_PATH="${INSTALL_PATH:-$PWD}"
+
+cd "$INSTALL_PATH"
+
+if test -e upnp -a -e plug
+then
+ echo "Enabling the UP&P plugin"
+ mkdir plugins &>/dev/null
+ PLUGINS=`cat plug`
+ echo "plugins.UPnP.UPnP at
file://$INSTALL_PATH/plugins/UPnP.jar;$PLUGINS" > plug2
+ mv -f plug2 plug
+ if test ! -e offline
+ then
+ java -jar bin/sha1test.jar plugins/UPnP.jar.url plugins
&>/dev/null
+ fi
+ mv plugins/UPnP.jar.url plugins/UPnP.jar
+ rm -f plugins/UPnP.jar.url
+ rm -f upnp
+fi
Property changes on: trunk/apps/new_installer/res/unix/bin/install_upnp.sh
___________________________________________________________________
Name: svn:executable
+ *