[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

David GUENAULT dguenault at monitoring-fr.org
Tue Feb 28 22:10:10 UTC 2012


The following commit has been merged in the debian/master branch:
commit 9b19585ac0655a065ed758ce59e550d129256d43
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date:   Wed Dec 28 10:50:07 2011 +0100

    FIX htpasswd.users path in pnp4nagios.conf

diff --git a/contrib/alternative-installation/shinken-install/shinken.sh b/contrib/alternative-installation/shinken-install/shinken.sh
index ebf2f10..56b716a 100755
--- a/contrib/alternative-installation/shinken-install/shinken.sh
+++ b/contrib/alternative-installation/shinken-install/shinken.sh
@@ -1060,6 +1060,8 @@ function install_pnp4nagios(){
 	cecho " > Installing" green
 	make fullinstall > /dev/null 2>&1
 	rm -f $PNPPREFIX/share/install.php
+        cecho " > fix htpasswd.users path" green
+        sed -i "s#/usr/local/nagios/etc/htpasswd.users#$TARGET/etc/htpasswd.users#g" /etc/apache2/conf.d/pnp4nagios.conf 
 	/etc/init.d/apache2 restart > /dev/null 2>&1
 	cecho " > Enable npcdmod" green
 

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list