From 78334fe93e60b9013e84b45ba578ecbec06ffb39 Mon Sep 17 00:00:00 2001 From: "andre.peters" Date: Sat, 27 Jan 2018 12:19:43 +0100 Subject: [PATCH] [Update] Crit fix for missing vars --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index de924f99..78bcc446 100755 --- a/update.sh +++ b/update.sh @@ -6,7 +6,7 @@ done [[ ! -f mailcow.conf ]] && { echo "mailcow.conf is missing"; exit 1;} -CONFIG_ARRAY=("SKIP_LETS_ENCRYPT" "USE_WATCHDOG" "WATCHDOG_NOTIFY_EMAIL" "SKIP_CLAMD" "SKIP_IP_CHECK" "SKIP_FAIL2BAN" "ADDITIONAL_SAN" "DOVEADM_PORT") +CONFIG_ARRAY=("SKIP_LETS_ENCRYPT" "USE_WATCHDOG" "WATCHDOG_NOTIFY_EMAIL" "SKIP_CLAMD" "SKIP_IP_CHECK" "SKIP_FAIL2BAN" "ADDITIONAL_SAN" "DOVEADM_PORT" "IPV4_NETWORK" "IPV6_NETWORK" "IPV6_NETWORK") sed -i '$a\' mailcow.conf for option in ${CONFIG_ARRAY[@]}; do if [[ ${option} == "ADDITIONAL_SAN" ]]; then