]> git.sur5r.net Git - openldap/commitdiff
Prevent always overwriting slapd.conf in install-conf rule.
authorRandy Kunkee <kunkee@openldap.org>
Mon, 24 Jul 2000 20:48:53 +0000 (20:48 +0000)
committerRandy Kunkee <kunkee@openldap.org>
Mon, 24 Jul 2000 20:48:53 +0000 (20:48 +0000)
servers/slapd/Makefile.in

index d7787e7127ea95ba1d869c93a369252f4f4e8257..1c3b14747d0b22177718d1959fa89301ade96b9a 100644 (file)
@@ -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 \