aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2003-09-17 00:41:35 +0800
committerChris Lahey <clahey@src.gnome.org>2003-09-17 00:41:35 +0800
commitc373fff1059ce15f8c4f4dc8616dc0f36bb65bea (patch)
tree2881559fa249a81a324abeab867e0a4f085c17df
parentcae41a6e3e2392290adfec7e37e18f42224fb5f8 (diff)
downloadgsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.tar
gsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.tar.gz
gsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.tar.bz2
gsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.tar.lz
gsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.tar.xz
gsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.tar.zst
gsoc2013-epiphany-c373fff1059ce15f8c4f4dc8616dc0f36bb65bea.zip
Added MOZ_PLUGIN_PATH default. Added migration from galeon settings.
2003-09-16 Christopher James Lahey <clahey@ximian.com> * src/epiphany.in: Added MOZ_PLUGIN_PATH default. Added migration from galeon settings.
-rw-r--r--ChangeLog5
-rw-r--r--src/epiphany.in18
2 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f44e4d75d..1d264108c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-16 Christopher James Lahey <clahey@ximian.com>
+
+ * src/epiphany.in: Added MOZ_PLUGIN_PATH default. Added migration
+ from galeon settings.
+
2003-09-16 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults):
diff --git a/src/epiphany.in b/src/epiphany.in
index fe0c28f5d..443fe3814 100644
--- a/src/epiphany.in
+++ b/src/epiphany.in
@@ -11,6 +11,24 @@ else
exit
fi
+if [ -z "$MOZ_PLUGIN_PATH" ]; then
+ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:/usr/libexec/plugins/mozilla
+ export MOZ_PLUGIN_PATH
+fi
+
+#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 \
+ $HOME/.galeon/mozilla/galeon/*.w \
+ $HOME/.galeon/mozilla/galeon/cookies.text \
+ $HOME/.galeon/mozilla/galeon/cookperm.txt \
+ $HOME/.galeon/mozilla/galeon/prefs.js \
+ $HOME/.gnome2/epiphany/mozilla/epiphany/ \
+ > /dev/null 2>&1 \
+ || :
+fi
+
LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH