[Bug 275410] Re: sensible-browser not working

Steve Langasek steve.langasek at canonical.com
Thu Oct 2 01:36:21 UTC 2008


This is caused by a bug in the /usr/lib/firefox-3.0.3/firefox.sh wrapper
script; it assumes that 'basename $0' is always a valid binary name
under /usr/lib/firefox-3.0.3, which is not at all guaranteed to be the
case; e.g., firefox-3.0, abrowser-3.0, gnome-www-browser, and x-www-
browser all are (or can be) symlinks to this wrapper script, but none of
these appear as program names in /usr/lib/firefox-3.0.3.

I think the best solution here is to use readlink on $0 recursively
until a matching name is found; this avoids having to hard-code any
lists of known alternatives, or lists of known brandings.

** Changed in: firefox-3.0 (Ubuntu)
   Importance: Undecided => High
       Status: Incomplete => Triaged
       Target: None => ubuntu-8.10

-- 
sensible-browser not working
https://bugs.launchpad.net/bugs/275410
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list