awstats must be installed to check its configuration

This commit is contained in:
Jérémy Lecour 2019-03-24 21:50:51 +01:00
parent f4b1c96be0
commit 3838f07c3b

View file

@ -586,7 +586,7 @@ if is_debian; then
# Verification du LogFormat de AWStats
if [ "$IS_AWSTATSLOGFORMAT" = 1 ]; then
if is_installed apache2.2-common; then
if is_installed apache2.2-common awstats; then
grep -qE '^LogFormat=1' /etc/awstats/awstats.conf.local \
|| failed "IS_AWSTATSLOGFORMAT"
fi