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

Xdialog requires --stdout if you want it to print its output to stdout (rather
than stderr).

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)

Versions of packages peercast-handlers depends on:
ii  dialog                    1.0-20060221-3 Displays user-friendly dialog boxe
ii  gconf2                    2.16.1-1       GNOME configuration database syste
ii  xdialog                   2.2.1-2        X11 replacement for the text util 
pi  zenity                    2.14.3-1       Display graphical dialog boxes fro

peercast-handlers recommends no packages.

-- no debconf information
--- /usr/bin/peercast_handler.sh        2008-04-01 15:05:21.000000000 +0200
+++ peercast_handler.sh 2008-04-01 15:30:00.000000000 +0200
@@ -60,17 +60,17 @@
                        fi;
                fi;
        elif [ -x "`which Xdialog`" ] ; then
-               binary=$(Xdialog --menubox "Peercast Handler" 13 40 5 
$MENU_SERVICES 2> /dev/null)
+               binary=$(Xdialog --stdout --menubox "Peercast Handler" 13 40 5 
$MENU_SERVICES 2> /dev/null)
                if [ "$binary" = "" ]; then
                exit 1;
                elif [ "$binary" = "Other" ]; then
-                       binary=$(Xdialog --title "Custom command" --inputbox 
"Enter your command, %u for url:" 8 30 "my_command --play %u" 2> /dev/null)
+                       binary=$(Xdialog --stdout --title "Custom command" 
--inputbox "Enter your command, %u for url:" 8 30 "my_command --play %u" 2> 
/dev/null)
                        if [ "$binary" = "" ]; then
                        exit 1;
                        fi;
                fi;
                if [ "$binary" != "Geekast" ]; then
-                       host=$(Xdialog --title "PeerCast server" --inputbox 
"What is the adress of you server?" 8 30 "$host" 2> /dev/null)
+                       host=$(Xdialog --stdout --title "PeerCast server" 
--inputbox "What is the adress of you server?" 8 30 "$host" 2> /dev/null)
                        if [ "$host" = "" ]; then
                        exit 1;
                        fi;

Reply via email to