mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
1dc10ca512
commit
77dfa05d29
@ -12,7 +12,7 @@ CONFIG_FILES = \
|
|||||||
install-data-local:
|
install-data-local:
|
||||||
@for file in $(CONFIG_FILES); do \
|
@for file in $(CONFIG_FILES); do \
|
||||||
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
||||||
$(INSTALL_DATA) -o @icinga_user@ -g @icinga_group@ -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
$(INSTALL_DATA) $(INSTALL_OPTS) -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ install-data-local:
|
|||||||
@if [ ! -e $(icinga2confdir) ]; then \
|
@if [ ! -e $(icinga2confdir) ]; then \
|
||||||
$(MKDIR_P) $(icinga2confdir); \
|
$(MKDIR_P) $(icinga2confdir); \
|
||||||
for file in $(CONFIG_FILES); do \
|
for file in $(CONFIG_FILES); do \
|
||||||
$(INSTALL_DATA) -o @icinga_user@ -g @icinga_group@ -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
$(INSTALL_DATA) $(INSTALL_OPTS) -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ install-data-local:
|
|||||||
@$(MKDIR_P) $(icinga2confdir); \
|
@$(MKDIR_P) $(icinga2confdir); \
|
||||||
for file in $(CONFIG_FILES); do \
|
for file in $(CONFIG_FILES); do \
|
||||||
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
||||||
$(INSTALL_DATA) -o @icinga_user@ -g @icinga_group@ -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
$(INSTALL_DATA) $(INSTALL_OPTS) -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -132,10 +132,10 @@ IDOUtils schema >= 1.10
|
|||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-icinga-user=$USER \
|
%configure --with-icinga-user=%{icinga_user} \
|
||||||
--with-icinga-group=$USER \
|
--with-icinga-group=%{icinga_group} \
|
||||||
--with-icingacmd-user=$USER \
|
--with-icingacmd-user=%{icinga_user} \
|
||||||
--with-icingacmd-group=$USER
|
--with-icingacmd-group=%{icinga_group}
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user