[Pkg-nagios-changes] [pkg-nagios] r42 - nagios2/trunk/debian
Marc Haber
zugschlus at costa.debian.org
Sun Jan 15 10:24:27 UTC 2006
Author: zugschlus
Date: 2006-01-15 10:24:27 +0000 (Sun, 15 Jan 2006)
New Revision: 42
Modified:
nagios2/trunk/debian/nagios2-common.postinst
Log:
fix htpasswd generation (-n missing)
Modified: nagios2/trunk/debian/nagios2-common.postinst
===================================================================
--- nagios2/trunk/debian/nagios2-common.postinst 2006-01-15 10:20:50 UTC (rev 41)
+++ nagios2/trunk/debian/nagios2-common.postinst 2006-01-15 10:24:27 UTC (rev 42)
@@ -55,7 +55,7 @@
# XXX this passes the password on the cmdline but i can't
# XXX find a better way...
htpw="/etc/nagios2/htpasswd.users"
- if [ "$admpass" ] && [ ! -f "$htpw" ]; then
+ if [ -n "$admpass" ] && [ ! -f "$htpw" ]; then
htpasswd -bc "$htpw" "$admuser" "$admpass"
fi
More information about the Pkg-nagios-changes
mailing list