Skip to content

Commit

Permalink
handler for remi awstats package
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Nov 19, 2013
1 parent cd97596 commit 99e20c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/v-update-web-domain-stat
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ build_awstats() {
if [ -e "/etc/redhat-release" ]; then
awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
wwwroot="/usr/share/awstats/wwwroot"
if [ ! -e "$awstats" ]; then
awstats="/var/www/awstats/awstats.pl"
wwwroot="/var/www/awstats"
fi
else
awstats="/usr/lib/cgi-bin/awstats.pl"
wwwroot="/usr/share/awstats"
Expand Down

0 comments on commit 99e20c4

Please sign in to comment.