[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. debian/1.7.2-1-13-geec91d0

Alexander Wirt formorer at debian.org
Wed Oct 17 13:49:47 UTC 2012


The following commit has been merged in the master branch:
commit eec91d00737449d72ad6029387d165dafb5258d1
Author: Alexander Wirt <formorer at debian.org>
Date:   Wed Oct 17 15:46:39 2012 +0200

    Don't ask question if there is no config
    
    Closes: #689601

diff --git a/debian/icinga-common.config b/debian/icinga-common.config
index f1814df..8a04a02 100644
--- a/debian/icinga-common.config
+++ b/debian/icinga-common.config
@@ -1,7 +1,9 @@
 #!/bin/sh -e
 
+
 . /usr/share/debconf/confmodule
 
+set -x 
 conffile="/etc/icinga/icinga.cfg"
 
 if [ -e "$conffile" ]; then
@@ -22,7 +24,8 @@ if [ -e "$conffile" ]; then
 	esac
 
 	db_set icinga/check_external_commands $check_external_commands
+    db_input high icinga/check_external_commands || true
+    db_go || true
 fi
 
-db_input high icinga/check_external_commands || true
-db_go || true
+

-- 
debian packaging of icinga(-core)



More information about the Pkg-nagios-changes mailing list