[Pkg-nagios-changes] [pkg-nagios] r1184 - ndoutils/trunk/debian

Hendrik Frenzel hfrenzel-guest at alioth.debian.org
Thu Jun 21 16:06:47 UTC 2007


Author: hfrenzel-guest
Date: 2007-06-21 16:06:47 +0000 (Thu, 21 Jun 2007)
New Revision: 1184

Modified:
   ndoutils/trunk/debian/ndoutils-DB.postinst.in
Log:
Fixing wrong expression


Modified: ndoutils/trunk/debian/ndoutils-DB.postinst.in
===================================================================
--- ndoutils/trunk/debian/ndoutils-DB.postinst.in	2007-06-21 15:57:00 UTC (rev 1183)
+++ ndoutils/trunk/debian/ndoutils-DB.postinst.in	2007-06-21 16:06:47 UTC (rev 1184)
@@ -51,7 +51,7 @@
 		s/^ *[^#]* *\(\<db_pass\) *=.*\$/\1=$app_pass/" \
 		< ndo2db.cfg > $tmp
 	
-	if [ "$have_ucf" -eq 'yes' ]; then
+	if [ "$have_ucf" = 'yes' ]; then
 		ucf $tmp /etc/nagios2/ndo2db.cfg
 		ucf ndomod.cfg /etc/nagios2/ndomod.cfg
 	else




More information about the Pkg-nagios-changes mailing list