Skip to content

Commit 99e20c4

Browse files
committed
handler for remi awstats package
1 parent cd97596 commit 99e20c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/v-update-web-domain-stat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ build_awstats() {
6363
if [ -e "/etc/redhat-release" ]; then
6464
awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
6565
wwwroot="/usr/share/awstats/wwwroot"
66+
if [ ! -e "$awstats" ]; then
67+
awstats="/var/www/awstats/awstats.pl"
68+
wwwroot="/var/www/awstats"
69+
fi
6670
else
6771
awstats="/usr/lib/cgi-bin/awstats.pl"
6872
wwwroot="/usr/share/awstats"

0 commit comments

Comments
 (0)