tags 351811 pending
thanks

* Jeff King ([EMAIL PROTECTED]) wrote:
> Package: firefox
> Version: 1.5.dfsg+1.5.0.1-1
> Followup-For: Bug #351811
> 
> I am getting the same error here since upgrading to 1.5.dfsg+1.5.0.1-1
> (running 'firefox' doesn't start firefox and outputs the same messages
> to the console.log file).  My /bin/sh is dash. Removing my .firefox and
> .mozilla directories has no impact.
> 
> However, I fixed the problem by doing this:
>   1. dpkg-reconfigure dash, telling it not to install as /bin/sh
>   2. remove (using dpkg --remove) and reinstall firefox
>   3. dpkg-reconfigure dash, telling it to install as /bin/sh
> 
> So clearly there is some issue with having dash as /bin/sh during the
> install (but not during run-time). Browsing through the installation
> scripts, one thing that jumped out was the final bit of the preinst:
> 
> for dir in /usr/lib/firefox/{icons,searchplugins,res,chrome,defaults,greprefs}
>   do
>   if [ -d "$dir" ]; then
>       rm -rf "$dir"
>   fi
> done
> 
> The {} syntax is not POSIX, and won't work with dash. A failure in this bit of
> code could cause the errors I'm seeing.

Why are all the good shell features not POSIX? :(

-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: Digital signature

Reply via email to