install_amavis.sh: fix errors in if statements: replace ':' with ';'.

This commit is contained in:
Christoph 2025-05-14 10:26:50 +02:00
parent 4442c6230e
commit cc06fe5cfa
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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