Package: usplash
Version: 0.5.19-3
Severity: important

A little bug in postinst file makes that usplash.conf is never
written with the correct resolution

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- usplash.postinst.orig       2009-02-02 12:35:53.000000000 +0100
+++ usplash.postinst    2009-02-02 12:39:02.000000000 +0100
@@ -51,7 +51,7 @@
                        x="${dimensions%%x*}"
                        y="${dimensions#*x}"
                fi
-               if [ "$x" ] && [ "$y" ]; then
+               if [ -n "$x"  -a -n "$y" ]; then
                        echo "xres=$x" >>/etc/usplash.conf
                        echo "yres=$y" >>/etc/usplash.conf
                fi

Reply via email to