[Pkg-nagios-changes] [icinga] 03/03: This time
Alexander Wirt
formorer at debian.org
Thu Aug 8 12:11:02 UTC 2013
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository icinga.
commit cc033acdce8370a7d041063df5b8fe53248b7fd6
Author: Alexander Wirt <formorer at debian.org>
Date: Wed Jul 24 20:10:07 2013 +0200
This time
Git-Dch: Ignore
---
debian/icinga-cgi.postinst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/icinga-cgi.postinst b/debian/icinga-cgi.postinst
index 5ccdd70..492ea19 100644
--- a/debian/icinga-cgi.postinst
+++ b/debian/icinga-cgi.postinst
@@ -73,11 +73,11 @@ case "$1" in
touch "$htpw"
#unfortunatly that method only works with 2.4
if htpasswd 2>&1 | grep -q ' -i'; then
+ echo "$admpass" | htpasswd -i "$htpw" icingaadmin
+ else
htpasswd -b "$htpw" icingaadmin "$admpass"
- else
- echo "$admpass" | htpasswd -i "$htpw" icingaadmin
fi
- fi
+ fi
# everything went well, so now let's reset the password
db_set icinga/adminpassword ""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/icinga.git
More information about the Pkg-nagios-changes
mailing list