Re: [Epiphany] Migration & Plugin path patch (was patch)



And of course, the actual patch

On Mon, 2003-09-15 at 13:07, Christopher James Lahey wrote:
> This patch includes a change to add a default mozilla plugin path and a
> separate change to do migration of a bunch of galeon settings.
> 
> I can commit either of these or both of them.  Just let me know which is
> acceptable.
> 
> Thanks,
>     Chris
> 
> _______________________________________________
> Epiphany mailing list
> Epiphany@mozdev.org
> http://mozdev.org/mailman/listinfo/epiphany
> 
? plugins.migration.diff
Index: src/epiphany.in
===================================================================
RCS file: /cvs/gnome/epiphany/src/epiphany.in,v
retrieving revision 1.1
diff -u -p -r1.1 epiphany.in
--- src/epiphany.in	12 Apr 2003 22:38:26 -0000	1.1
+++ src/epiphany.in	15 Sep 2003 17:07:07 -0000
@@ -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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]