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
commit08887cb645220594c1b047a3940eff63923cd994 (patch)
treea1477801775885d80cf0458bc924745aafc389c5
parent1bb3f15231317f3cfd9f6e3d970847f9c288e60a (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/