]> git.pld-linux.org Git - packages/firefox.git/commitdiff
- ripped hackery from gentoo of removing outdated compreg/chrome/xul cache in case...
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 12 Nov 2005 13:47:56 +0000 (13:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-firefox.sh -> 1.9

mozilla-firefox.sh

index 4bb6a571094ae5e46941ee44cd1e200661fb3337..22fd73bda8d1af682958d1d6f8f9274527e355f7 100644 (file)
@@ -35,6 +35,15 @@ if [ -z "$MOZARGS" ]; then
        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
This page took 0.82351 seconds and 4 git commands to generate.