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 | 19cdbb144e30221dfad61f7e4c4a34d6f9badeee (patch) | |
tree | ccecf846c57ebe903019738d95b5a0494e1f0dee /Monitoring | |
parent | df942da80db39b86664c2df0af3e68cc2e881f14 (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/ |