After I've upgraded to mozilla-firefox-bin-1.0.5-r1 when i type "firefox" at the prompt i recieve "/usr/bin/firefox: can't find the browser :-(" error message. After I peeked at /usr/bin/firefox script, I found out that it looks for an actual executable at /usr/lib/MozillaFirefox and not /opt/mozilla where it actually resides
I have the same symptoms. I think the problem is in the script /usr/libexec/mozilla-launcher, in the function which_browser() At lines 178-183 the original file reads: # Attempt to use -bin version if source version isn't available if [[ -n $mozbin && ! -f $mozbin ]]; then unset mozbin # it's bogus anyway zero=${zero}-bin fi And the script starts to work when adding a line: # Attempt to use -bin version if source version isn't available if [[ -n $mozbin && ! -f $mozbin ]]; then unset mozbin # it's bogus anyway unset MOZILLA_FIVE_HOME # <--- my modification zero=${zero}-bin fi The additional line unsets MOZILLA_FIVE_HOME This is necessary a few lines below, when testing variable $zero: case $zero in *fox-bin) : ${MOZILLA_FIVE_HOME:="/opt/firefox"} Now, the man page for bash states that the := operator in ${ } construct assignes the rhs value to the lhs argument only when lhs is unset. This explains why the current version of the script cannot work and why my modification should fix the problem. I hope this will help (actually I know nothing about bash sripting, just wanted to find out if I can trace down the bug. I can't even provide a patch file, as I experimented on the original script, which is now gone...) Z. Koza
Leonid can you please test lastest mozilla-launcher ebuild agriffis has patched and release 1.37 into ~arch for testing. Thank
Jory, it works perfectly. When do you think it will be in x86?
I do not want to jump the gun as soon as agriffis is comfortable with the feedback it will be bumped.
Cool. Thanks, guys.
mozilla-launcher 1.41 stable on all arches