Package: xserver-xorg Version: latest Severity: normal Tags: patch An "empty" $DRIVER_LIST may actually include a space. Also, the "observe" command means that the problem is not reported to the user unless said user is debugging the internals of the script.
See attached patch. -- 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-5-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
--- /var/lib/dpkg/info/xserver-xorg.postinst 2007-11-27 05:10:31.000000000 +0100 +++ xserver-xorg.postinst 2007-12-02 04:13:27.000000000 +0100 @@ -1651,8 +1651,8 @@ ;; esac - if [ -z "$DRIVER_LIST" ]; then - observe "no video driver modules found in $DRIVER_DIRS; defaulting to $DEFAULT_DRIVER" + if [ -z "$DRIVER_LIST" ] || [ "$DRIVER_LIST" = " " ]; then + warn "no video driver modules found in $DRIVER_DIRS; defaulting to $DEFAULT_DRIVER" DRIVER_LIST="$DEFAULT_DRIVER" fi