]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - icedove.sh
- copy cleanup from iceweasel
[packages/thunderbird.git] / icedove.sh
index dde3a013f583c737c9c3e4ae3dff1a7aa05eceed..f987d0e24720054110f9305ff89b83af8dd47c60 100644 (file)
@@ -12,6 +12,15 @@ if [ ! -d $HOME/.icedove ]; then
        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
This page took 0.230615 seconds and 4 git commands to generate.