mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -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
|
if [ -e "/etc/redhat-release" ]; then
|
||||||
awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
|
awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
|
||||||
wwwroot="/usr/share/awstats/wwwroot"
|
wwwroot="/usr/share/awstats/wwwroot"
|
||||||
|
if [ ! -e "$awstats" ]; then
|
||||||
|
awstats="/var/www/awstats/awstats.pl"
|
||||||
|
wwwroot="/var/www/awstats"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
awstats="/usr/lib/cgi-bin/awstats.pl"
|
awstats="/usr/lib/cgi-bin/awstats.pl"
|
||||||
wwwroot="/usr/share/awstats"
|
wwwroot="/usr/share/awstats"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue