diff options
author | fredb <fredb> | 2001-08-18 20:31:13 +0000 |
---|---|---|
committer | fredb <fredb> | 2001-08-18 20:31:13 +0000 |
commit | 9250fd45c876fec73727b5f5901448b0c298c096 (patch) | |
tree | bed1cef658d8bdabf50f43b7d21dc8fca325552e /www/wwwoffle/patches | |
parent | fe7e265fdaa3c106fc4362b0bb45cbe1c5194b7f (diff) | |
download | pkgsrc-9250fd45c876fec73727b5f5901448b0c298c096.tar.gz |
Let the default configuration file be installed as "wwwoffle.conf.install",
rather than "wwwoffle.conf.default", so that wwwoffle-upgrade-config*.pl
can use it to populate the new config file with comments (and to minimize
gratuitious changes).
Diffstat (limited to 'www/wwwoffle/patches')
-rw-r--r-- | www/wwwoffle/patches/patch-aa | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/www/wwwoffle/patches/patch-aa b/www/wwwoffle/patches/patch-aa index 33bd0bcb5b5..5c8a43c4216 100644 --- a/www/wwwoffle/patches/patch-aa +++ b/www/wwwoffle/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.14 2001/08/14 04:51:46 fredb Exp $ +$NetBSD: patch-aa,v 1.15 2001/08/18 20:31:15 fredb Exp $ --- Makefile.orig Tue May 29 13:29:03 2001 +++ Makefile @@ -95,3 +95,12 @@ $NetBSD: patch-aa,v 1.14 2001/08/14 04:51:46 fredb Exp $ #### +@@ -396,7 +396,7 @@ + @[ ! -f $(CONFDIR)/wwwoffle.conf ] || \ + (echo "WWWOFFLE: " ;\ + echo "WWWOFFLE: There is already a config file $(CONFDIR)/wwwoffle.conf." ;\ +- echo "WWWOFFLE: Run 'upgrade-config.pl $(CONFDIR)/wwwoffle.conf' to upgrade it." ;\ ++ echo "WWWOFFLE: Run 'wwwoffle-upgrade-config.pl $(CONFDIR)/wwwoffle.conf' to upgrade it." ;\ + echo "WWWOFFLE: " ) + [ ! -f $(CONFDIR)/wwwoffle.conf ] || $(INSTALL) -c -m 640 wwwoffle.conf.install $(CONFDIR)/wwwoffle.conf.install + [ -f $(CONFDIR)/wwwoffle.conf ] || $(INSTALL) -c -m 640 wwwoffle.conf.install $(CONFDIR)/wwwoffle.conf |