[Nagios-devel] [PATCH 1/3] Fix installation of httpd/conf.d

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] [PATCH 1/3] Fix installation of httpd/conf.d

Post by Guest »

The directory HTTPD_CONF must be created before trying to
install into it.

Signed-off-by: Peter Lemenkov
---
Makefile.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 879ec4d..9f6ac51 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -264,6 +264,7 @@ install-config:
@echo ""

install-webconf:
+ $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTTPD_CONF)
$(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf

@echo ""
--
1.7.3.2






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked