[Pkg-nagios-changes] [SCM] Packaging of check_mk branch, master, updated. 60c0abe8da5653f47782a2125347651282f5654f

Alexander Wirt formorer at debian.org
Sat Mar 5 09:20:43 UTC 2011


The following commit has been merged in the master branch:
commit 60c0abe8da5653f47782a2125347651282f5654f
Author: Alexander Wirt <formorer at debian.org>
Date:   Sat Mar 5 10:18:43 2011 +0100

    And for all other hosts too :)

diff --git a/debian/check-mk-server.postinst b/debian/check-mk-server.postinst
index 7755ede..7d4d9cf 100644
--- a/debian/check-mk-server.postinst
+++ b/debian/check-mk-server.postinst
@@ -27,8 +27,8 @@ case "$1" in
 		#fix permissions for some directorys
 		test -d /var/lib/check_mk/cache || mkdir -p /var/lib/check_mk/cache
 		setperm nagios nagios 0750 /var/lib/check_mk/cache
-		test -d /var/lib/check_mk/counters/localhost || mkdir -p /var/lib/check_mk/counters/localhost
-		setperm nagios nagios 0750 /var/lib/check_mk/counters/localhost
+		test -d /var/lib/check_mk/counters/ || mkdir -p /var/lib/check_mk/counters/
+		setperm nagios nagios 0750 /var/lib/check_mk/counters/
     ;;
   abort-upgrade|abort-remove|abort-deconfigure)
     ;;

-- 
Packaging of check_mk



More information about the Pkg-nagios-changes mailing list