Correct false warning of IS_APACHE2EVOLINUXCONF by ensuring apache is installed
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Ludovic Poujol 2021-11-19 10:52:59 +01:00
parent 9ac9d3d3e5
commit dc17587423

View file

@ -827,7 +827,7 @@ check_userinadmgroup() {
} }
check_apache2evolinuxconf() { check_apache2evolinuxconf() {
if is_debian_stretch || is_debian_buster || is_debian_bullseye; then if is_debian_stretch || is_debian_buster || is_debian_bullseye; then
if test -d /etc/apache2; then if is_installed apache2; then
{ test -L /etc/apache2/conf-enabled/z-evolinux-defaults.conf \ { test -L /etc/apache2/conf-enabled/z-evolinux-defaults.conf \
&& test -L /etc/apache2/conf-enabled/zzz-evolinux-custom.conf \ && test -L /etc/apache2/conf-enabled/zzz-evolinux-custom.conf \
&& test -f /etc/apache2/ipaddr_whitelist.conf; && test -f /etc/apache2/ipaddr_whitelist.conf;