aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-12-21 03:35:58 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-12-21 03:35:58 +0800
commitda5c99d76b663820b525427934255d91c32c6664 (patch)
tree8f443697fd6e54c41c65a6f015d5dab6202a3f9b /src
parent825e2488a6498acff91d4d3f8b4c590fa224cbe1 (diff)
downloadgsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.tar
gsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.tar.gz
gsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.tar.bz2
gsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.tar.lz
gsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.tar.xz
gsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.tar.zst
gsoc2013-epiphany-da5c99d76b663820b525427934255d91c32c6664.zip
Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashes
2003-12-20 Marco Pesenti Gritti <marco@gnome.org> * src/epiphany.in: Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashes oepning links from thunderbird
Diffstat (limited to 'src')
-rw-r--r--src/epiphany.in11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/epiphany.in b/src/epiphany.in
index 443fe3814..9031d5925 100644
--- a/src/epiphany.in
+++ b/src/epiphany.in
@@ -2,21 +2,14 @@
dist_bin=`dirname $0`
-if test -n "$MOZILLA_FIVE_HOME"; then
- MOZILLA_HOME=$MOZILLA_FIVE_HOME
-elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
- MOZILLA_HOME=@MOZILLA_HOME@
-else
- echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
- exit
-fi
+MOZILLA_HOME=@MOZILLA_HOME@
if [ -z "$MOZ_PLUGIN_PATH" ]; then
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:/usr/libexec/plugins/mozilla
export MOZ_PLUGIN_PATH
fi
-#Migration
+# Migration
if [ ! -e $HOME/.gnome2/epiphany/mozilla/epiphany -a -d $HOME/.galeon/mozilla/galeon ]; then
mkdir -p $HOME/.gnome2/epiphany/mozilla/epiphany && \
cp $HOME/.galeon/mozilla/galeon/*.s \