forked from evolix/evocheck
Fix: IS_APACHE_CONFENABLED is only for Jessie or Stretch
This commit is contained in:
parent
2f60997e66
commit
7ddb75fb5b
|
@ -801,9 +801,11 @@ if [ -e /etc/debian_version ]; then
|
||||||
# Starting from Jessie and Apache 2.4, /etc/apache2/conf.d/
|
# Starting from Jessie and Apache 2.4, /etc/apache2/conf.d/
|
||||||
# must be replaced by conf-available/ and config files symlinked
|
# must be replaced by conf-available/ and config files symlinked
|
||||||
# to conf-enabled/
|
# to conf-enabled/
|
||||||
test -d /etc/apache2/conf.d/ && echo 'IS_APACHE_CONFENABLED FAILED!'
|
if is_debianversion jessie || is_debianversion stretch; then
|
||||||
grep -q 'Include conf.d' /etc/apache2/apache2.conf && \
|
test -d /etc/apache2/conf.d/ && echo 'IS_APACHE_CONFENABLED FAILED!'
|
||||||
echo 'IS_APACHE_CONFENABLED FAILED!'
|
grep -q 'Include conf.d' /etc/apache2/apache2.conf && \
|
||||||
|
echo 'IS_APACHE_CONFENABLED FAILED!'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_MELTDOWN_SPECTRE" = 1 ]; then
|
if [ "$IS_MELTDOWN_SPECTRE" = 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue