]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make sure we don't overwrite existing config if it
authorJoshua Slive <slive@apache.org>
Mon, 18 Apr 2005 17:16:21 +0000 (17:16 +0000)
committerJoshua Slive <slive@apache.org>
Mon, 18 Apr 2005 17:16:21 +0000 (17:16 +0000)
has a name other than httpd.conf.

Submitted by: Rici Lake

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161776 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index d75b567cc599a79d5a1ab1a596e0dbc620e25302..87ad28f470dac42201e4502de85381efeb4fca2a 100644 (file)
@@ -78,7 +78,7 @@ install-conf:
                if [ "$$i" = "httpd.conf" ]; then \
                        file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
                fi; \
-               if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
+               if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
                        $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
                fi; \
            done ; \