On 17.01.2011 16:33, Roberto C. Sánchez wrote:
On Mon, Jan 17, 2011 at 01:47:14PM +0100, Thomas Mueller wrote:
Package: shorewall-lite
Version: 4.4.16-1

On startup or restart of shorewall-lite with /etc/init.d/shorewall-lite
an error message gets printed:

$ /etc/init.d/shorewall-lite restart
[: 20: missing ]


seems that debian/shorewall-lite.init is a copy of init.debian.sh. The
error is already fixed in init.debian.sh

Please copy the init.debian.sh to debian/shorewall-lite.init.

I am quite puzzled that you encountered this bug, because checking to
make sure that I have debian/shorewall-lite.init in sync with
init.debian.sh is something I do prior to uploading a new upstream
release.  In fact, for the package that you using, it is certainly the
case:

hm.. I just downloaded http://ftp.de.debian.org/debian/pool/main/s/shorewall-lite/shorewall-lite_4.4.11.6-1_all.deb and opend etc/init.d/shorewall-lite , line 20:

[ "$INITLOG" eq "/dev/null" && SHOREWALL_INIT_SCRIPT=1 || SHOREWALL_INIT_SCRIPT=0

there is "eq" instead of "-eq" (and "-"eq" is IMHO just for numbers). and then there is a missing ] before &&

IMHO correct would be:

[ "$INITLOG" = "/dev/null" ] && SHOREWALL_INIT_SCRIPT=1 || SHOREWALL_INIT_SCRIPT=0

- Thomas



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

Reply via email to