[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4944: Svgatextmode postinst has missing quotes



 Package: svgatextmode
 Version: 1.4-5

The postinst for this package fails if you ask it to start svgatextmode now.
The following code at the end of

svgatextmode.postinst

is to blame:

        if [ $ANS = "y" -o $ANS = "Y" -o $ANS = "" ]; then
                /etc/rc.boot/svgatextmode
        fi

$ANS needs quotes around it to force test to do string operations, as follows

        if [ "$ANS" = "y" -o "$ANS" = "Y" -o "$ANS" = "" ]; then
                /etc/rc.boot/svgatextmode
        fi

Jon.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: