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

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


The following commit has been merged in the debian/master branch:
commit be4c5d5d017df805e1807e1970985f4c0125216b
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date:   Mon Feb 27 07:44:32 2012 +0100

    FIX shinken exception on plugins/addon dependency for mongodb

diff --git a/install b/install
index 107ea4b..166c2bf 100755
--- a/install
+++ b/install
@@ -1872,13 +1872,14 @@ fi
 while getopts "kidubcr:lz:hsvp:we:" opt; do
     case $opt in
         p)
-
-            if [ $(shinken_exist) -eq 0 ]
+            if [ ! "$OPTARG" in "mongodb" ]
             then
-                cecho " > You should install shinken first ! " red
-                exit 2
+                if [ $(shinken_exist) -eq 0 ]
+                then
+                    cecho " > You should install shinken first ! " red
+                    exit 2
+                fi
             fi
-
             if [ "$OPTARG" == "check_esx3" ]
             then
                 install_check_esx3

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list