Package: musescore Version: 0.9.6+dfsg-1 Severity: normal In Debian bug #524733, I asked for a test in the script /usr/bin/musescore to test for the presence of the 'pactl' command, which is in the pulseaudio-utils package, which is Recommended by musescore, but I don't have it installed.
Right now, the script looks like: PACTL=$(which pactl) if [ "$PULSEAUDIO" -eq "0" ] && [ -e $PACTL ]; then ... fi The test should look like [ -e "$PACTL" ] (quotes are needed). Try this: #!/bin/sh PACTL=$(which nosuchfile) if [ -e $PACTL ]; then echo "true" else echo "false" fi It will print 'true'. Putting quotes around $PACTL will make it print 'false'. The output from the script shows: $ musescore /usr/bin/musescore: line 9: list: command not found stat: missing operand Try `stat --help' for more information. Using JACK for audio link SVGID_3_ hasn't been detected! link SVGID_3_ hasn't been detected! registerPlugin: add action idx 7 Load plugin: no menu property preferences.checkUpdateStartup: 720 lastupdate: 09.09.2010 11:31:41.022 $ which pactl Thanks! Yoshio -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages musescore depends on: ii desktop-file-utils 0.15-2 Utilities for .desktop files ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii libasound2 1.0.23-1 shared library for ALSA applicatio ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.4-7 GCC support library ii libportaudio2 19+svn20071022-3+b2 Portable audio I/O - shared librar ii libqt4-designer 4:4.6.3-1 Qt 4 designer module ii libqt4-network 4:4.6.3-1 Qt 4 network module ii libqt4-script 4:4.6.3-1 Qt 4 script module ii libqt4-scripttools 4:4.6.3-1 Qt 4 script tools module ii libqt4-svg 4:4.6.3-1 Qt 4 SVG module ii libqt4-xml 4:4.6.3-1 Qt 4 XML module ii libqtcore4 4:4.6.3-1 Qt 4 core module ii libqtgui4 4:4.6.3-1 Qt 4 GUI module ii libqtscript4-qtbindi 0.1.0-3 Qt Script bindings for Qt 4 - meta ii libsndfile1 1.0.21-2 Library for reading/writing audio ii libstdc++6 4.4.4-7 The GNU Standard C++ Library v3 ii musescore-common 0.9.6+dfsg-1 Full featured WYSIWYG score editor ii musescore-soundfont- 0.9.6+dfsg-1 Small GM SoundFont for MuseScore ( ii xdg-utils 1.0.2+cvs20100307-1 desktop integration utilities from ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages musescore recommends: pn pulseaudio-utils <none> (no description available) Versions of packages musescore suggests: pn fluid-soundfont-gm <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org