diff options
Diffstat (limited to 'www/awstats/patches/patch-ab')
-rw-r--r-- | www/awstats/patches/patch-ab | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/www/awstats/patches/patch-ab b/www/awstats/patches/patch-ab index bc180b52d6a..24284cc3897 100644 --- a/www/awstats/patches/patch-ab +++ b/www/awstats/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.3 2005/08/26 20:22:56 adrianp Exp $ +$NetBSD: patch-ab,v 1.3.6.1 2006/05/17 21:26:40 salo Exp $ ---- tools/awstats_configure.pl.orig 2005-01-15 22:42:58.000000000 +0000 +--- tools/awstats_configure.pl.orig 2006-02-08 13:26:14.000000000 -0800 +++ tools/awstats_configure.pl @@ -29,12 +29,12 @@ $AWSTATS_MODEL_CONFIG $AWSTATS_DIRDATA_PATH @@ -124,15 +124,15 @@ $NetBSD: patch-ab,v 1.3 2005/08/26 20:22:56 adrianp Exp $ else { $modelfile="$AWSTATS_PATH\\wwwroot\\cgi-bin\\awstats.model.conf"; } @@ -604,11 +606,11 @@ if ($bidon =~ /^y/i) { if ($OS eq 'linux') { - print "\n-----> Define config file path\n";
- print "In which directory do you plan to store your config file(s) ?\n";
-- print "Default: /etc/awstats\n";
-+ print "Default: @PKG_SYSCONFDIR@\n";
- my $bidon='';
- print "Directory path to store config file(s) (Enter for default):\n> ";
- $bidon=<STDIN>; chomp $bidon;
+ print "\n-----> Define config file path\n"; + print "In which directory do you plan to store your config file(s) ?\n"; +- print "Default: /etc/awstats\n"; ++ print "Default: @PKG_SYSCONFDIR@\n"; + my $bidon=''; + print "Directory path to store config file(s) (Enter for default):\n> "; + $bidon=<STDIN>; chomp $bidon; - if (! $bidon) { $bidon = "/etc/awstats"; } + if (! $bidon) { $bidon = "@PKG_SYSCONFDIR@"; } - my $configdir=$bidon;
+ my $configdir=$bidon; if (! -d $configdir) { # Create the directory for config files |