mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Prevent always overwriting slapd.conf in install-conf rule.
This commit is contained in:
parent
e7e7bca4c0
commit
af0ec07692
1 changed files with 2 additions and 2 deletions
|
|
@ -268,8 +268,8 @@ install-conf: FORCE
|
|||
@-$(MKDIR) $(DESTDIR)$(sysconfdir)
|
||||
@-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-ldbm
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 600 slapd.conf.tmp $(DESTDIR)$(sysconfdir)/slapd.conf.default
|
||||
if test ! -f $(DESTDIR)$(sysconfdir)/$$cf; then \
|
||||
echo "installing $$cf in $(sysconfdir)"; \
|
||||
if test ! -f $(DESTDIR)$(sysconfdir)/slapd.conf; then \
|
||||
echo "installing slapd.conf in $(sysconfdir)"; \
|
||||
echo "$(INSTALL) $(INSTALLFLAGS) -m 600 slapd.conf.tmp $(DESTDIR)$(sysconfdir)/slapd.conf"; \
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 600 slapd.conf.tmp $(DESTDIR)$(sysconfdir)/slapd.conf; \
|
||||
else \
|
||||
|
|
|
|||
Loading…
Reference in a new issue