From: eldy <> Date: Mon, 10 Nov 2003 19:28:45 +0000 (+0000) Subject: Better installer. X-Git-Tag: AWSTATS_6_0_BETA~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc7b78e2dbca496f32ef081a71eab91916594a8;p=thirdparty%2FAWStats.git Better installer. --- diff --git a/tools/configure.pl b/tools/configure.pl index c1eb16e7..44b003f9 100644 --- a/tools/configure.pl +++ b/tools/configure.pl @@ -401,20 +401,20 @@ foreach my $key (keys %ApacheConfPath) { print CONF "# Directives to allow use of AWStats as a CGI$CR\n"; print CONF "#$CR\n"; if (! $awstatsclassesfound) { - print " Add 'Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH/\"' to config file\n"; - print CONF "Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH/$CR\n"; + print " Add 'Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH\/\"' to config file\n"; + print CONF "Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH\/\"$CR\n"; } if (! $awstatscssfound) { - print " Add 'Alias \/awstatscss \"$AWSTATS_CSS_PATH/\"' to config file\n"; - print CONF "Alias \/awstatscss \"$AWSTATS_CSS_PATH/$CR\n"; + print " Add 'Alias \/awstatscss \"$AWSTATS_CSS_PATH\/\"' to config file\n"; + print CONF "Alias \/awstatscss \"$AWSTATS_CSS_PATH\/\"$CR\n"; } if (! $awstatsiconsfound) { - print " Add 'Alias \/awstatsicons \"$AWSTATS_ICON_PATH/\"' to config file\n"; - print CONF "Alias \/awstatsicons \"$AWSTATS_ICON_PATH/$CR\n"; + print " Add 'Alias \/awstatsicons \"$AWSTATS_ICON_PATH\/\"' to config file\n"; + print CONF "Alias \/awstatsicons \"$AWSTATS_ICON_PATH\/\"$CR\n"; } if (! $awstatscgifound) { - print " Add 'ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH/\"' to config file\n"; - print CONF "ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH/$CR\n"; + print " Add 'ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH\/\"' to config file\n"; + print CONF "ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH\/\"$CR\n"; } close CONF; $UseAlias=1; @@ -440,7 +440,7 @@ my $site=$bidon; # ----------------------- my $configfile=''; my $modelfile=''; -if ($OS eq 'linux') { $modelfile="$AWSTATS_MODEL_CONFIG"; $configfile='/etc/awstats/awstats.$site.conf'; } +if ($OS eq 'linux') { $modelfile="$AWSTATS_MODEL_CONFIG"; $configfile="/etc/awstats/awstats.$site.conf"; } if ($OS eq 'windows') { $modelfile="$AWSTATS_PATH\\wwwroot\\cgi-bin\\awstats.model.conf"; $configfile="$AWSTATS_PATH\\wwwroot\\cgi-bin\\awstats.$site.conf"; } # Update model config file @@ -512,7 +512,7 @@ if ($OS eq 'windows') { } if ($OS eq 'linux') { print "Sorry, programming update is not supported yet.\n"; - print "You can to it manually by adding the following line to your crontab\n"; + print "You can do it manually by adding the following line to your crontab\n"; print "$AWSTATS_CGI_PATH/awstats -update -config=$site\n"; print "Or if you have several config files and prefer having only one command:\n"; print "$AWSTATS_TOOLS_PATH/awstats_updateall.pl now\n";