averi pushed to check-mk (f22). "Fix the path to the chmod runs and to the agents/plugins directory location"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 10:47:09 UTC 2015


>From a8f4733f7313ed3288551f39f67ea0f7d8c8e4a8 Mon Sep 17 00:00:00 2001
From: Andrea Veri <av at gnome.org>
Date: Mon, 13 Apr 2015 12:42:57 +0200
Subject: Fix the path to the chmod runs and to the agents/plugins directory
 location


diff --git a/check-mk.spec b/check-mk.spec
index 2050b97..4fd8051 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -174,8 +174,8 @@ done
 
 # Additional missing executable bit
 chmod a+x %{buildroot}%{_datadir}/check_mk/notifications/debug
-chmod a+x %{buildroot}%{_datadir}/check-mk-agent/plugins/mk_logwatch
-chmod a+x %{buildroot}%{_datadir}/check-mk-agent/plugins/mk_oracle
+chmod a+x %{buildroot}%{_datadir}/check_mk/agents/plugins/mk_logwatch
+chmod a+x %{buildroot}%{_datadir}/check_mk/agents/plugins/mk_oracle
 
 # Web app files are not intended to be run, remove the shebang
 # TODO: ask upstream to do the same
@@ -198,7 +198,7 @@ rm %{buildroot}%{_sysconfdir}/nagios/objects/check_mk_templates.cfg
 
 # PLUGINSDIR on the check_mk_agent binary file is set to be %%{_datadir}/check-mk-agent/plugins,
 # make sure files are copied over to the correct location.
-cp -r %{buildroot}%{_datadir}/check_mk/plugins/* %{buildroot}%{_datadir}/check-mk-agent/plugins/
+cp -r %{buildroot}%{_datadir}/check_mk/agents/plugins/* %{buildroot}%{_datadir}/check-mk-agent/plugins/
 rm -rf %{buildroot}%{_datadir}/check_mk/plugins/
 
 # Fix the path for the Nagios plugins
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/check-mk.git/commit/?h=f22&id=a8f4733f7313ed3288551f39f67ea0f7d8c8e4a8


More information about the scm-commits mailing list