Package: peercast-handlers
Version: 0.1218+svn20071220+2
Severity: normal
Tags: patch

peercast_handler.sh passes wrong parameter to zenity, making it useless when
zenity is installed (hence detected and used by the script).

See attached patch.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -ur peercast-0.1218+svn20071220+2.old/ui/linux/scripts/peercast_handler.sh 
peercast-0.1218+svn20071220+2/ui/linux/scripts/peercast_handler.sh
--- peercast-0.1218+svn20071220+2.old/ui/linux/scripts/peercast_handler.sh      
2007-12-20 17:14:59.000000000 +0100
+++ peercast-0.1218+svn20071220+2/ui/linux/scripts/peercast_handler.sh  
2008-03-16 17:51:37.000000000 +0100
@@ -44,7 +44,7 @@
                        fi;
                fi;
        elif [ -x "`which zenity`" ] ; then
-               binary=$(zenity --list --title="Peercast Handler" 
--list-text=Service --column="Multimedia player" $SERVICES 2> /dev/null)
+               binary=$(zenity --list --title="Peercast Handler" 
--text=Service --column="Multimedia player" $SERVICES 2> /dev/null)
                if [ "$binary" = "" ]; then
                exit 1;
                elif [ "$binary" = "Other" ]; then

Reply via email to