Amazon linux support

This commit is contained in:
Serghey Rodin 2018-02-14 17:10:14 +02:00
commit 4cc3c1d287
12 changed files with 34 additions and 31 deletions

View file

@ -62,7 +62,7 @@ build_webalizer() {
}
build_awstats() {
if [ -e "/etc/redhat-release" ]; then
if [ -d "/etc/sysconfig" ]; then
awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
wwwroot="/usr/share/awstats/wwwroot"
if [ ! -e "$awstats" ]; then