1 Description: Modify default path to awstats.pl in tools/.
2 Author: Sergey B Kirpichev <skirpichev@gmail.com>
5 tools/awstats_buildstaticpages.pl | 4 ++--
6 1 file changed, 2 insertions(+), 2 deletions(-)
8 --- a/tools/awstats_buildstaticpages.pl
9 +++ b/tools/awstats_buildstaticpages.pl
11 # Check if AWSTATS prog is found
13 if (-s "$Awstats") { $AwstatsFound=1; }
14 -elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") {
15 - $Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl";
16 +elsif (-s "/usr/share/awstats/cgi-bin/awstats.pl") {
17 + $Awstats="/usr/lib/cgi-bin/awstats.pl";
20 if (! $AwstatsFound) {