handler for remi awstats package

This commit is contained in:
Serghey Rodin 2013-11-19 21:02:24 +02:00
commit 99e20c44df

View file

@ -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"