Permalink
Browse files

handler for remi awstats package

  • Loading branch information...
serghey-rodin committed Nov 19, 2013
1 parent cd97596 commit 99e20c44dfd1c9c8c02b4125cd6533a2e273ec8b
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/v-update-web-domain-stat
@@ -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"

0 comments on commit 99e20c4

Please sign in to comment.