Package: spong-www
Version: 2.7.7-9
Severity: normal
Tags: patch

This is the message:

  Setting up spong-www (2.7.7-9) ...
  /var/lib/dpkg/info/spong-www.postinst: line 32: [: missing `]'

Patch attached.


Cheers,
Cristian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.72
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)

Versions of packages spong-www depends on:
ii  adduser                       3.67       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.57     Debian configuration management sy
ii  perl                          5.8.7-4    Larry Wall's Practical Extraction
ii  spong-common                  2.7.7-9    A systems and network monitoring s
ii  wwwconfig-common              0.0.43     Debian web auto configuration

Versions of packages spong-www recommends:
ii  apache [httpd]               1.3.33-7    versatile, high-performance HTTP s
ii  rrdtool                      1.2.11-0.2  Time-series data storage and displ
ii  thttpd [httpd]               2.23beta1-3 tiny/turbo/throttling HTTP server

-- debconf information:
* spong-www/use_rrd: true
* spong-www/add_lines: true
--- /var/lib/dpkg/info/spong-www.postinst.orig  2005-08-19 13:12:23.000000000 
+0200
+++ /var/lib/dpkg/info/spong-www.postinst       2005-08-21 10:36:09.000000000 
+0200
@@ -29,8 +29,8 @@
 
   db_get spong-www/add_lines
 
-  if [ "$RET" = "true" && ] \
-       [ -f /usr/share/wwwconfig-common/apache-include_all.sh ]; then
+  if [ "$RET" = "true" ] &&
+     [ -f /usr/share/wwwconfig-common/apache-include_all.sh ]; then
 
     includefile='/etc/spong/apache.conf'
 
@@ -44,7 +44,7 @@
 
        if [ ! -z "$reload" ]; then
          if [ -x /usr/sbin/invoke-rc.d ] ; then
-           /usr/sbin/invoke-rc.d ${reload} reload 
+           /usr/sbin/invoke-rc.d ${reload} reload
          else
            /etc/init.d/${reload} reload
          fi
@@ -62,4 +62,3 @@
 #      fi
 #fi
 # End automatically added section
-

Reply via email to