Package: xbase-clients
Version: 4.2.1-12.1
Severity: normal

if [ -L /etc/X11/xinit/xinitrc -a $(readlink /etc/X11/xinitrc) = "../Xsession" ]; then

Need quotes around that readlink subshell, or we can get:

/var/lib/dpkg/tmp.ci/preinst: line 469: [: too many arguments

Check other maintainer scripts for similar constructs and fix them.

Don't anybody raise the severity of this bug.  The test command is
inside an if so the preinst script does not fail.  In fact when readlink
doesn't return anything the loop body shouldn't be executed anyway.

But it's ugly, so it should be fixed.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zuul.progeny.com 2.4.20-586tsc #1 Mon Feb 10 11:12:41 EST 2003 i686
Locale: LANG=C, LC_CTYPE=en_US




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

Reply via email to