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

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


The following commit has been merged in the debian/master branch:
commit 308a4a9d04524c795d071b7e72b6c05086b9172e
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date:   Tue Dec 27 10:45:15 2011 +0100

    FIX : plugins dir was not correctly relocated

diff --git a/contrib/alternative-installation/shinken-install/shinken.sh b/contrib/alternative-installation/shinken-install/shinken.sh
index 7e0471d..707e3a9 100755
--- a/contrib/alternative-installation/shinken-install/shinken.sh
+++ b/contrib/alternative-installation/shinken-install/shinken.sh
@@ -387,7 +387,8 @@ function relocate(){
 	cd $TARGET
 
 	# relocate nagios plugin path
-	sed -i "#/usr/lib/nagios/plugins#$TARGET/libexec#g" ./etc/resource.cfg
+	sed -i "s#/usr/lib/nagios/plugins#$TARGET/libexec#g" ./etc/resource.cfg
+	sed -i "s#/usr/local/shinken/libexec#$TARGET/libexec#g" ./etc/resource.cfg
 	# relocate default /usr/local/shinken path
 	for fic in $(find . | grep -v "shinken-install" | grep -v "\.pyc$" | xargs grep -snH "/usr/local/shinken" --color | cut -f1 -d' ' | awk -F : '{print $1}' | sort | uniq)
 	do 

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list