[Pkg-nagios-devel] nagios3-common

Michael Richardson mcr at sandelman.ottawa.on.ca
Sat Apr 11 01:22:09 UTC 2009


the file:
/var/lib/dpkg/info/nagios3-common.prerm

has invalid if statement, it is missing the "then"

sh-3.2# diff -u /tmp/nagios3-common.prerm /var/lib/dpkg/info/nagios3-common.prerm
--- /tmp/nagios3-common.prerm   2009-04-11 01:21:48.000000000 +0000
+++ /var/lib/dpkg/info/nagios3-common.prerm     2009-04-11 01:21:50.000000000 +0000
@@ -4,7 +4,7 @@
 
 apacheconf="/etc/nagios3/apache2.conf"
 
-if [ -f $apacheconf ]
+if [ -f $apacheconf ]; then
   case "$1" in
     remove)
        # find the configured servers




More information about the Pkg-nagios-devel mailing list