From 05fbd40a4c7158d1171859fe3a87e1030df038f9 Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Wed, 3 Jul 2019 12:05:14 +0200 Subject: [PATCH] Copy snmp script inside the package as well --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 31d16d2..ac4690c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,9 @@ install: mkdir -p $(PREFIX)/usr/lib/check_mk_agent/plugins mkdir -p $(PREFIX)/usr/lib/check_mk_agent/repo mkdir -p $(PREFIX)/usr/lib/check_mk_agent/local - cp -r agent-local/* $(PREFIX)/usr/lib/check_mk_agent/repo/ + mkdir -p $(PREFIX)/usr/share/librenms-agent/snmp + cp -rL agent-local/* $(PREFIX)/usr/lib/check_mk_agent/repo/ + cp -rL snmp/* $(PREFIX)/usr/share/librenms-agent/snmp rm $(PREFIX)/usr/lib/check_mk_agent/repo/README mkdir -p $(PREFIX)/usr/bin install -m 0750 check_mk_agent $(PREFIX)/usr/bin/check_mk_agent