Author: glen                         Date: Sat Nov 12 13:48:02 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ripped hackery from gentoo of removing outdated compreg/chrome/xul cache in 
case of firefox upgrade. fixes firefox blank window problem

---- Files affected:
SOURCES:
   mozilla-firefox.sh (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/mozilla-firefox.sh
diff -u SOURCES/mozilla-firefox.sh:1.8 SOURCES/mozilla-firefox.sh:1.9
--- SOURCES/mozilla-firefox.sh:1.8      Sat Nov 12 14:41:35 2005
+++ SOURCES/mozilla-firefox.sh  Sat Nov 12 14:47:56 2005
@@ -35,6 +35,15 @@
        done
 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/}firefox/*/{compreg.dat,chrome.rdf,XUL.mfasl}; do
+       if [[ -f ${f} && ${f} -ot /usr/bin/mozilla-firefox ]]; then
+               echo "Removing ${f} leftover from older firefox"
+               rm -f "${f}"
+       fi
+done
+
 if [ -n "$MOZARGS" ]; then
        FIREFOX="$LIBDIR/firefox $MOZARGS"
 else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mozilla-firefox.sh?r1=1.8&r2=1.9&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to