Package: shorewall-common
Version: 4.0.11-2
Severity: important
Tags: patch

When installing shorewall-common the configure stage fails with:

/var/lib/dpkg/info/shorewall-common.postinst: line 37: [0: command not
found

I have attached a patch to fix the problem.

Regards,
Bradley Smith

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-rc4 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages shorewall-common depends on:
ii  dash                          0.5.4-9    POSIX-compliant shell
ii  debconf                       1.5.22     Debian configuration management sy
ii  iproute                       20080417-1 networking and traffic control too 
ii  iptables                      1.4.0-4    administration tools for packet fi

-- 
Bradley Smith  <[EMAIL PROTECTED]>                  GPG: 0xC718D347
--- shorewall-common.postinst.orig      2008-06-03 16:17:46.000000000 +0100
+++ shorewall-common.postinst   2008-06-03 16:17:58.000000000 +0100
@@ -34,7 +34,7 @@
             . /etc/default/shorewall
         fi
 
-        if [ "$restart" = "true" ] && ["$startup" = "1" ]
+        if [ "$restart" = "true" ] && [ "$startup" = "1" ]
         then 
             if /sbin/shorewall check
             then

Attachment: signature.asc
Description: PGP signature

Reply via email to