From 7b622eec79d35f7145d583aa4851d7dfe416cfdc Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 13 May 2008 20:56:04 +1200 Subject: [PATCH] Add cachemgr.conf.default for easier maintenance cachemgr.conf has for a long while been created conditionally if none already existed, but no current new default file was added to compare for new configuration options. This patch reverts the behaviour to what was reportedy available in 2.5. Adding a file named cachemgr.conf.default next to the cachemgr.conf cachemgr.conf.default file is replaces unconditionally so that it remains current with the most recently installed build. cachemgr.conf itself is only created if not already present so as not to loose local configuration changes. --- tools/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Makefile.am b/tools/Makefile.am index 59b5d400fd..a41df66a7f 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -45,6 +45,8 @@ DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf $(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h install-data-local: + @echo "$(INSTALL_DATA) $(srcdir)/cachemgr.conf $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG).default"; \ + $(INSTALL_DATA) $(srcdir)/cachemgr.conf $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG).default; \ @if test -f $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG) ; then \ echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG)" ; \ else \ -- 2.47.3