averi pushed to check-mk (el5). "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:46:34 UTC 2015
>From 8cef24098e9dbf429f07d558926087111e023f5e 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 35e7aa0..7c582b1 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -155,8 +155,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
@@ -179,7 +179,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/
# Move the shebang from /usr/bin/bash to /bin/bash, which is the right path for the
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/check-mk.git/commit/?h=el5&id=8cef24098e9dbf429f07d558926087111e023f5e
More information about the scm-commits
mailing list