SOURCES: icedove.sh - copy profile from thunderbird if its available and if...

hawk hawk at pld-linux.org
Thu Jun 26 21:13:34 CEST 2008


Author: hawk                         Date: Thu Jun 26 19:13:34 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- copy profile from thunderbird if its available and if no icedove
  profile exists

---- Files affected:
SOURCES:
   icedove.sh (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/icedove.sh
diff -u SOURCES/icedove.sh:1.2 SOURCES/icedove.sh:1.3
--- SOURCES/icedove.sh:1.2	Thu Jun 26 09:25:51 2008
+++ SOURCES/icedove.sh	Thu Jun 26 21:13:28 2008
@@ -3,6 +3,15 @@
 
 LIBDIR="@LIBDIR@/icedove"
 
+# copy profile from Thunderbird if its available and if no Icedove
+# profile exists
+if [ ! -d $HOME/.icedove ]; then
+	if [ -d $HOME/.thunderbird ]; then
+		echo "Copying profile from Thunderbird"
+		cp -rf $HOME/.thunderbird $HOME/.icedove
+	fi
+fi
+
 ICEDOVE="$LIBDIR/icedove"
 
 if [ "$1" == "-remote" ]; then
================================================================

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



More information about the pld-cvs-commit mailing list