diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/epiphany.in | 18 |
2 files changed, 23 insertions, 0 deletions
@@ -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 |