averi pushed to check-mk (f20). "Remove the correct old plugins directory"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 10:48:29 UTC 2015


>From a54f7d55913af3df157fa5cc64db55b9ed47bf39 Mon Sep 17 00:00:00 2001
From: Andrea Veri <av at gnome.org>
Date: Mon, 13 Apr 2015 12:47:33 +0200
Subject: Remove the correct old plugins directory


diff --git a/check-mk.spec b/check-mk.spec
index 4fd8051..02e7e7d 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -199,7 +199,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/agents/plugins/* %{buildroot}%{_datadir}/check-mk-agent/plugins/
-rm -rf %{buildroot}%{_datadir}/check_mk/plugins/
+rm -rf %{buildroot}%{_datadir}/check_mk/agents/plugins/
 
 # Fix the path for the Nagios plugins
 sed -i 's|/usr/lib/nagios/plugins|%{_libdir}/nagios/plugins|' \
-- 
cgit v0.10.2


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


More information about the scm-commits mailing list