summaryrefslogtreecommitdiffstats
path: root/Monitoring
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
commit19cdbb144e30221dfad61f7e4c4a34d6f9badeee (patch)
treeccecf846c57ebe903019738d95b5a0494e1f0dee /Monitoring
parentdf942da80db39b86664c2df0af3e68cc2e881f14 (diff)
updated Monitoring makefile
checks for python and if not available installs both, python and simplejson for debian
Diffstat (limited to 'Monitoring')
-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/