We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd97596 commit 99e20c4Copy full SHA for 99e20c4
1 file changed
bin/v-update-web-domain-stat
@@ -63,6 +63,10 @@ build_awstats() {
63
if [ -e "/etc/redhat-release" ]; then
64
awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
65
wwwroot="/usr/share/awstats/wwwroot"
66
+ if [ ! -e "$awstats" ]; then
67
+ awstats="/var/www/awstats/awstats.pl"
68
+ wwwroot="/var/www/awstats"
69
+ fi
70
else
71
awstats="/usr/lib/cgi-bin/awstats.pl"
72
wwwroot="/usr/share/awstats"
0 commit comments