From 3ffb360c51e941d730137b1d4f1abcb687bedf71 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 25 Dec 2022 18:41:26 +0100 Subject: [PATCH] Update check-config.sh --- check-config.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/check-config.sh b/check-config.sh index c2d869ff..e39d6bd1 100755 --- a/check-config.sh +++ b/check-config.sh @@ -430,7 +430,7 @@ fi #-------------------------------------------------------------------------------------------------- -# Ensure cfg/, mod/ and log/ directories exist +# Ensure cfg/ and log/ directories exist #-------------------------------------------------------------------------------------------------- print_head_1 "Checking required Devilbox core directories exist" @@ -464,21 +464,6 @@ if [ "${DIR_MISSING}" = "0" ]; then log_ok "All PHP log/ sub directories are present" fi -# /mod/php-fpm-VERSION -DIR_MISSING=0 -while read -r php_version; do - if [ ! -d "mod/php-fpm-${php_version}" ]; then - log_err "Directory 'mod/php-fpm-${php_version}' is missing" - RET_CODE=$(( RET_CODE + 1)) - DIR_MISSING=1 - else - log_debug "Directory 'mod/php-fpm-${php_version}' is present" - fi -done < <(grep -E '^#?PHP_SERVER=' env-example | awk -F'=' '{print $2}') -if [ "${DIR_MISSING}" = "0" ]; then - log_ok "All PHP mod/ sub directories are present" -fi - # /cfg/apache|nginx-VERSION DIR_MISSING=0 while read -r httpd_version; do @@ -522,7 +507,6 @@ DEVILBOX_DIRS=( "cfg" "compose" "log" - "mod" "supervisor" ) @@ -591,7 +575,6 @@ DEVILBOX_DIRS=( "ca" "cfg" "compose" - "mod" "supervisor" )