--- tools/awstats_buildstaticpages.pl.orig 2015-07-21 07:55:55 UTC +++ tools/awstats_buildstaticpages.pl @@ -299,8 +299,8 @@ # Check if AWSTATS prog is found my $AwstatsFound=0; if (-s "$Awstats") { $AwstatsFound=1; } -elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") { - $Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl"; +elsif (-s "%%PREFIX%%/www/awstats/cgi-bin/awstats.pl") { + $Awstats="%%PREFIX%%/www/awstats/cgi-bin/awstats.pl"; $AwstatsFound=1; } elsif (-s "/usr/lib/cgi-bin/awstats.pl") {