From af0ec0769236afcc28cd372ba8ae13a99093f087 Mon Sep 17 00:00:00 2001 From: Randy Kunkee Date: Mon, 24 Jul 2000 20:48:53 +0000 Subject: [PATCH] Prevent always overwriting slapd.conf in install-conf rule. --- servers/slapd/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \ -- 2.39.5