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

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


The following commit has been merged in the debian/master branch:
commit c06fd2007130decf6fc730d6021feee3eb175bf9
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date:   Tue Feb 28 07:52:58 2012 +0100

    FIX mongodb install under debian

diff --git a/install b/install
index 166c2bf..e64f15b 100755
--- a/install
+++ b/install
@@ -951,10 +951,10 @@ function install_mongodb(){
             fi
             ;;
         DEBIAN)
-            apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
+            apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 >> $TMP/shinken.install.log 2>&1
             echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" > /etc/apt/sources.list.d/10gen.list
-            apt-get update
-            apt-get install -y mongodb-10gen
+            apt-get update >> $TMP/shinken.install.log 2>&1
+            apt-get install -y mongodb-10gen >> $TMP/shinken.install.log 2>&1
             ;;
         *)
             cecho " > Unknown distribution : $DIST" red
@@ -1872,7 +1872,7 @@ fi
 while getopts "kidubcr:lz:hsvp:we:" opt; do
     case $opt in
         p)
-            if [ ! "$OPTARG" in "mongodb" ]
+            if [ "$OPTARG" != "mongodb" ]
             then
                 if [ $(shinken_exist) -eq 0 ]
                 then

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list