summaryrefslogtreecommitdiffstats
path: root/Monitoring/Makefile
diff options
context:
space:
mode:
authormakefu <makefu@syntax-fehler.de>2011-06-30 23:40:53 +0200
committermakefu <makefu@syntax-fehler.de>2011-06-30 23:40:53 +0200
commit2123e259269ef2ff40954d2b8130c284d2ebb0fa (patch)
treea1fa0b7ccf7b422fbdc9d1a8741a4503aae6b142 /Monitoring/Makefile
parentff9c69723a1f9b77c0d1f605ffacafd8732cd199 (diff)
updated Monitoring makefile
checks for python and if not available installs both, python and simplejson for debian
Diffstat (limited to 'Monitoring/Makefile')
-rw-r--r--Monitoring/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Monitoring/Makefile b/Monitoring/Makefile
index 72269101..fd75ef1b 100644
--- a/Monitoring/Makefile
+++ b/Monitoring/Makefile
@@ -4,6 +4,7 @@ HTDOCS = /usr/share/nagios3/htdocs
.phony: debian
debian:
+ [ `which python` ] || apt-get install python python-simplejson
[ `which nagios3` ] || apt-get install nagios3
rm $(NAGDIR)/conf.d/* || true
cp -r conf/* $(NAGDIR)/conf.d/