ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / web / awstats / patches / 2001_awstatsprog_path.patch
blob50d6fd800eb4a25516f208628a2c34986db94b95
1 Description: Modify default path to awstats.pl in tools/.
2 Author: Sergey B Kirpichev <skirpichev@gmail.com>
4 ---
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
10 @@ -307,8 +307,8 @@
11 # Check if AWSTATS prog is found
12 my $AwstatsFound=0;
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";
18 $AwstatsFound=1;
20 if (! $AwstatsFound) {