Quoting Michael Biebl ([EMAIL PROTECTED]):
> Package: console-common
> Version: 0.7.64
> Severity: minor
> 
> During upgrade of console-common (in preinst), I get the warning/error 
> message:
>  [: 69: 1: unexpected operator
> 
> As the upgrade doesn't fail, I'm setting the severity to minor.
> Please note that my default shell is dash.

checkbashisms doesn't detect bashisms in the script, but:

The following seems to be missing proper quoting:

if [ $errors -eq 1 ]
then
echo >&2 << EOF
FAILED: is /usr/local read-only ? Copy files from /usr/lib/kbd to 
/usr/local/share
and remove it by hand.
EOF
fi

Given that the errors variable is not initialized, it's probably
better to:

if [ "$errors" -eq 1 ]
then
echo >&2 << EOF
FAILED: is /usr/local read-only ? Copy files from /usr/lib/kbd to 
/usr/local/share
and remove it by hand.
EOF
fi

Attachment: signature.asc
Description: Digital signature

Reply via email to