Package: musescore Version: 1.2+dfsg-1 Severity: normal Hi,
This line in /usr/bin/mscore seems buggy:
MIXING=$(echo `$PACTL stat | grep Version | cut -d" " -f3` $PAMIXINGVER
| gawk '{ print ($1 >= $2) ? 1 : 0 }')
Just image what would happen if pactl ever changed it's output format or
was run with a different locale than en_US.
However, as of today, it seems the whole test is a no-op anyway. Have a
look at this:
$ PACTL=/usr/bin/pactl
$ PAMIXINGVER="0.9.19"
$ echo `$PACTL stat | grep Version | cut -d" " -f3` $PAMIXINGVER
Version: Version: 2.0 0.9.19
$
Changing the version to 0.9.18 and passing that line to gawk results in:
$ echo Version: Version: 0.9.18 0.9.19 | gawk '{ print ($1 >= $2) ? 1 :
0 }'
1
$
This means that $MIXING will always be 1, no matter what version of
pulseaudio is actually installed or running.
Best regards
Alexander Kurtz
signature.asc
Description: This is a digitally signed message part

