Package: 915resolution
Version: 0.5.2-7
Severity: normal
Tags: patch

Hello,

The output of "915resolution -l" is always displayed when executing
/etc/init.d/915resolution. It should never appear there, only the
return code of "915resolution -l" is really useful (if I understand
correctly bug #398077).

The following patch should be enough to fix this problem:

diff -Nru --exclude changelog /tmp/zLdSxBsXoc/915resolution-0.5.2/debian/init 
/tmp/FiB78gOCb3/915resolution-0.5.2/debian/init
--- /tmp/zLdSxBsXoc/915resolution-0.5.2/debian/init     2006-12-05 
16:29:00.000000000 +0100
+++ /tmp/FiB78gOCb3/915resolution-0.5.2/debian/init     2006-12-05 
16:29:00.000000000 +0100
@@ -25,7 +25,7 @@
        . /etc/default/915resolution
 fi
 
-$PROG -l || exit 0
+$PROG -l > /dev/null || exit 0
 
 if [ "$MODE" = auto -a \! -x "$VBETOOL" ] || [ "$MODE" != auto -a \( -z 
"$MODE" -o -z "$XRESO" -o -z "$YRESO" \) ] ; then
    echo "*** Your 915resolution hasn't been configured! ***"


Greetings,


Fred

-- System Information:
Debian Release: 4.0
  APT prefers testing-proposed-updates
  APT policy: (900, 'testing-proposed-updates'), (500, 'testing'), (99, 
'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages 915resolution depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  vbetool                      0.7-1.1     run real-mode video BIOS code to a

915resolution recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to