From dc17587423a8dbe1235c35c8527c10ea918909ae Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Fri, 19 Nov 2021 10:52:59 +0100 Subject: [PATCH] Correct false warning of IS_APACHE2EVOLINUXCONF by ensuring apache is installed --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index fb8a6ee..b7cd83d 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -827,7 +827,7 @@ check_userinadmgroup() { } check_apache2evolinuxconf() { 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/zzz-evolinux-custom.conf \ && test -f /etc/apache2/ipaddr_whitelist.conf;