From: Randy Kunkee Date: Mon, 24 Jul 2000 20:48:53 +0000 (+0000) Subject: Prevent always overwriting slapd.conf in install-conf rule. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2364 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af0ec0769236afcc28cd372ba8ae13a99093f087;p=openldap Prevent always overwriting slapd.conf in install-conf rule. --- diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index d7787e7127..1c3b14747d 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -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 \