Bug 56894 - mozilla-launcher-1.15 partially incompatible with thunderbird-bin
Bug#: 56894 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mozilla@gentoo.org Reported By: koon@gentoo.org
Component: Applications
URL: 
Summary: mozilla-launcher-1.15 partially incompatible with thunderbird-bin
Keywords:  
Status Whiteboard: 
Opened: 2004-07-13 06:53 0000
Description:   Opened: 2004-07-13 06:53 0000
The fix "Workaround thunderbird needing -a Thunderbird"in mozilla-launcher
breaks thunderbird-bin compatibility, as the directory specified there is only
valid for thunderbird.

Quick and dirty fix :

---------------------------------------------------------------------
173,175d172
<   # Trim -bin from ${zero} for the sake of xremote -a programname
<   zero=${zero%-bin}
<
181a179,185
>   if [[ $zero == thunderbird-bin ]]; then
>     fgrep -q '"0.7"' /opt/thunderbird/defaults/pref/thunderbird.js \
>       && zero=Thunderbird
>   fi
>
>   # Trim -bin from ${zero} for the sake of xremote -a programname
>   zero=${zero%-bin}
---------------------------------------------------------------------

------- Comment #1 From Thierry Carrez (RETIRED) 2004-07-19 01:53:14 0000 -------
Reassigning to mozilla team :)

------- Comment #2 From Aron Griffis (RETIRED) 2004-08-05 15:09:59 0000 -------
Fixed in mozilla-launcher-1.16, thanks!