mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 20:54:35 +02:00
Fix make install on FreeBSD.
This commit is contained in:
parent
3cb6e3bf82
commit
fab0d1efcc
@ -19,12 +19,11 @@ install-data-local:
|
|||||||
EXTRA_DIST = $(CONFIG_FILES)
|
EXTRA_DIST = $(CONFIG_FILES)
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
@cd $(icinga2confdir) && \
|
@if [ ! -e $(icinga2confdir)/features-enabled ]; then \
|
||||||
if [ ! -e features-enabled ]; then \
|
$(MKDIR_P) $(icinga2confdir)/features-enabled && \
|
||||||
$(MKDIR_P) features-enabled && \
|
$(LN_S) ../features-available/checker.conf $(icinga2confdir)/features-enabled/; \
|
||||||
$(LN_S) ../features-available/checker.conf features-enabled/; \
|
$(LN_S) ../features-available/notification.conf $(icinga2confdir)/features-enabled/; \
|
||||||
$(LN_S) ../features-available/notification.conf features-enabled/; \
|
$(LN_S) ../features-available/syslog.conf $(icinga2confdir)/features-enabled/; \
|
||||||
$(LN_S) ../features-available/syslog.conf features-enabled/; \
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user