diff options
author | makefu <makefu@syntax-fehler.de> | 2011-06-30 23:40:53 +0200 |
---|---|---|
committer | makefu <makefu@syntax-fehler.de> | 2011-06-30 23:40:53 +0200 |
commit | 08887cb645220594c1b047a3940eff63923cd994 (patch) | |
tree | a1477801775885d80cf0458bc924745aafc389c5 /Monitoring | |
parent | 1bb3f15231317f3cfd9f6e3d970847f9c288e60a (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/Makefile | 1 |
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/ |