Author: toad
Date: 2008-03-27 23:42:57 +0000 (Thu, 27 Mar 2008)
New Revision: 18798
Modified:
trunk/apps/new_installer/res/unix/bin/browse.sh
Log:
Remove the firefox profile launcher for now.
Modified: trunk/apps/new_installer/res/unix/bin/browse.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/browse.sh 2008-03-27 18:37:02 UTC
(rev 18797)
+++ trunk/apps/new_installer/res/unix/bin/browse.sh 2008-03-27 23:42:57 UTC
(rev 18798)
@@ -1,7 +1,6 @@
#!/bin/sh
cd "$INSTALL_PATH"
-POSSIBLE_NAMES="firefox mozilla mozilla-firefox iceweasel"
if test $# -lt 1
then
@@ -10,28 +9,4 @@
URL="$1"
fi
-browseURL()
-{
- `cat firefox.location` -no-remote -P freenet "$1" &
-}
-
-if test -e firefox.location
-then
- browseURL "$URL"
-else
- echo Detecting the location of Firefox
- for name in $POSSIBLE_NAMES
- do
- TRY="`which $name`"
- if test -n "$TRY"
- then
- echo $TRY > firefox.location
- echo Firefox found, creating a profile for freenet
- $TRY -no-remote -CreateProfile "freenet
$PWD/firefox_profile" >/dev/null
- browseURL "$URL"
- exit
- fi
- done
- echo The installer was unable to locate Mozilla Firefox on your computer
- java -Djava.net.preferIPv4Stack=true -cp bin/browser.jar
BareBonesBrowserLaunch "$URL" &
-fi
+java -Djava.net.preferIPv4Stack=true -cp bin/browser.jar
BareBonesBrowserLaunch "$URL" &