System : Gentoo Linux ~x86
I have thunderbird 0.6r1 installed, and mozilla-launcher 1.9, and I can't load thunderbird anymore (cf. steps below).
I found an explanation in the source of mozilla-launcher :
In which_browser() function, the first "case" find thunderbird, so it's ok, MOZILLA_FIVE_HOME is set to "/usr/lib/MozillaThunderbird". However, the second "case" isn't skipped, so MOZILLA_FIVE_HOME is then set to "/opt/thunderbird", which is bad, as I have the compiled Thunderbird, and not the binary one...
The second case sould be skipped if the first one finds the browser.
Reproducible: Always
Steps to Reproduce:
1. emerge net-mail/mozilla-thunderbird
2. emerge mozilla-launcher
3. thunderbird
Actual Results:
/usr/bin/thunderbird: can't find the browser :-(
Expected Results:
Thunderbird should run !
It's only a one line patch to mozilla-launcher to fix this. $zero is still
thunderbird, as you have the compiled version installed, but the second case
statement was running asn still matching thunderbird, instead of
thunderbird-bin
--- mozilla-launcher.old 2004-05-26 10:16:51.207447872 +0100
+++ mozilla-launcher 2004-05-26 10:17:10.622496336 +0100
@@ -153,7 +153,7 @@
prefs=$HOME/.mozilla
;;
- *thunderbird)
+ *thunderbird-bin)
export MOZILLA_FIVE_HOME="/opt/thunderbird"
remote=$MOZILLA_FIVE_HOME/mozilla-xremote-client
mozbin=$MOZILLA_FIVE_HOME/thunderbird-bin