Package: postgrey
Version: 1.21-2

/etc/init.d/postgrey fails because dash doesn't support [[ ]].  I don't
know if that syntax is supposed to be posix, but I'm told it is not.
It appears to be a ksh/bash-ism.

-if [[ "$POSTGREY_TEXT" = "" ]]; then
+if [ -z "$POSTGREY_TEXT" ]; then

          *          *          *

Aside: looking at the init script, btw, I wonder if $POSTGREY_TEXT_OPT
is *supposed* to produce an empty argument after the other args on the
postgrey daemon command line.  If not, it shouldn't be quoted....

Attachment: signature.asc
Description: Digital signature

Reply via email to