packages: icedove/icedove.sh - copy cleanup from iceweasel

glen glen at pld-linux.org
Wed Aug 25 22:24:59 CEST 2010


Author: glen                         Date: Wed Aug 25 20:24:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- copy cleanup from iceweasel

---- Files affected:
packages/icedove:
   icedove.sh (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/icedove/icedove.sh
diff -u packages/icedove/icedove.sh:1.5 packages/icedove/icedove.sh:1.6
--- packages/icedove/icedove.sh:1.5	Mon Aug 18 18:29:53 2008
+++ packages/icedove/icedove.sh	Wed Aug 25 22:24:54 2010
@@ -12,6 +12,15 @@
 	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 ~/.icedove/*/{compreg.dat,chrome.rdf,XUL.mfasl}; do
+	if [[ -f ${f} && ${f} -ot "$0" ]]; then
+		echo "Removing ${f} leftover from older Icedove"
+		rm -f "${f}"
+	fi
+done
+
 ICEDOVE="$LIBDIR/icedove"
 
 if [ "$1" == "-remote" ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/icedove/icedove.sh?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list