mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
handler for remi awstats package
This commit is contained in:
parent
cd975965cb
commit
99e20c44df
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue