Author: hawk                         Date: Thu Jun 26 19:14:04 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- copy profile from firefox if its available and if no iceweasel
  profile exists

---- Files affected:
SOURCES:
   iceweasel.sh (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/iceweasel.sh
diff -u SOURCES/iceweasel.sh:1.3 SOURCES/iceweasel.sh:1.4
--- SOURCES/iceweasel.sh:1.3    Thu Jun 26 09:25:51 2008
+++ SOURCES/iceweasel.sh        Thu Jun 26 21:13:59 2008
@@ -3,6 +3,15 @@
 
 LIBDIR="@LIBDIR@/iceweasel"
 
+# copy profile from Firefox if its available and if no Iceweasel
+# profile exists
+if [ ! -d $HOME/.iceweasel ]; then
+       if [ -d $HOME/.mozilla/firefox ]; then
+               echo "Copying profile from Firefox"
+               cp -rf $HOME/.mozilla/firefox $HOME/.iceweasel
+       fi
+fi
+
 # compreg.dat and/or chrome.rdf will screw things up if it's from an
 # older version.  http://bugs.gentoo.org/show_bug.cgi?id=63999
 for f in ~/{.,.mozilla/}iceweasel/*/{compreg.dat,chrome.rdf,XUL.mfasl}; do
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/iceweasel.sh?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to