From cc06fe5cfa8a54eb1cff5bc90938f7ad508e5810 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 14 May 2025 10:26:50 +0200 Subject: [PATCH] install_amavis.sh: fix errors in if statements: replace ':' with ';'. --- install_amavis.sh | 2 +- install_postfix_advanced.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install_amavis.sh b/install_amavis.sh index ef9071f..401487b 100755 --- a/install_amavis.sh +++ b/install_amavis.sh @@ -5390,7 +5390,7 @@ else fi fi -if ${listen_on_additional_smtp_port}: then +if ${listen_on_additional_smtp_port}; then echo "" warn "Please do not forget to allow incomming traffic on port \033[1m${additional_smtp_port}\033[m. diff --git a/install_postfix_advanced.sh b/install_postfix_advanced.sh index 12f57ae..8e6895f 100755 --- a/install_postfix_advanced.sh +++ b/install_postfix_advanced.sh @@ -530,7 +530,7 @@ _SASL_AUTH_ENABLED=$SASL_AUTH_ENABLED _SYMPA_LIST_SERVER=$IS_SYMPA_LIST_SERVER _LISTEN_ON_ADDITIONAL_RELAY_PORT=${LISTEN_ON_ADDITIONAL_RELAY_PORT} EOF - if ${LISTEN_ON_ADDITIONAL_RELAY_PORT} : then + if ${LISTEN_ON_ADDITIONAL_RELAY_PORT} ; then cat << EOF >> $conf_file _ADDITIONAL_RELAY_LISTEN_PORT=${ADDITIONAL_RELAY_LISTEN_PORT} EOF