summaryrefslogtreecommitdiffstats
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
commita3b763db8a4a8202b4aeb1788360ff6581f5204a (patch)
tree6a464b6c0ff46a7a3c29bdf0e8466c8f62ce4cb8
parent1e389b2436ae962ea03ae11652675f0713bea99d (diff)
updated Monitoring makefile
checks for python and if not available installs both, python and simplejson for debian
-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/