Package:  mozilla-browser
Version:  1.7.7-1

Distribution error:  unstable.
Identified error under:  mozilla-suite (/usr/bin/mozilla-suite).

Description:

% mozilla
/usr/bin/mozilla: line 75: syntax error near unexpected token `elif'
/usr/bin/mozilla: line 75: `elif [ "$MOZILLA_DSP" = "none" ]; then'

The piece of code responsible for this:

     67 if [ "$MOZILLA_DSP" = "auto" -a -f /dev/dsp ]; then
     68         MOZILLA_DSP=""
     69         P=`fuser /dev/dsp 2>&1 | sed -e 's#^/dev/dsp:##' `
     70         if [ -n "$P" ]; then
     71                 if echo $P | xargs ps -p | grep esd >/dev/null
2>&1; then MOZILLA_DSP=esddsp;
     72                 elif echo $P | xargs ps -p | grep arts
>/dev/null 2>&1; then MOZILLA_DSP=artsdsp; fi
     73                 elif echo $P | xargs ps -p | grep rplayd
>/dev/null 2>&1; then MOZILLA_DSP=rplaydsp;
     73 fi
     74         fi
     75 elif [ "$MOZILLA_DSP" = "none" ]; then
     76         MOZILLA_DSP=""
     77 fi

As it can be noticed line 72 closes IF series, leaving line 73 unclosed.

Work around:

Comment out IF closure on line 72...  See bellow...

     67 if [ "$MOZILLA_DSP" = "auto" -a -f /dev/dsp ]; then
     68         MOZILLA_DSP=""
     69         P=`fuser /dev/dsp 2>&1 | sed -e 's#^/dev/dsp:##' `
     70         if [ -n "$P" ]; then
     71                 if echo $P | xargs ps -p | grep esd >/dev/null
2>&1; then MOZILLA_DSP=esddsp;
     72                 elif echo $P | xargs ps -p | grep arts
>/dev/null 2>&1; then MOZILLA_DSP=artsdsp;# fi
     73                 elif echo $P | xargs ps -p | grep rplayd
>/dev/null 2>&1; then MOZILLA_DSP=rplaydsp;
     73 fi
     74         fi
     75 elif [ "$MOZILLA_DSP" = "none" ]; then
     76         MOZILLA_DSP=""
     77 fi

This is kernel/libc6/hardware independant, no need to provide that info...


-- 
Javier-Elias Vasquez-Vivas

Reply via email to