Update update.sh

Should be `elif` instead of `if`
master
Peter 2018-02-10 18:26:20 +01:00 committed by GitHub
parent 78870995d0
commit 6db217d97e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ for option in ${CONFIG_ARRAY[@]}; do
echo "Adding new option \"${option}\" to mailcow.conf"
echo "${option}=" >> mailcow.conf
fi
if [[ ${option} == "SYSCTL_IPV6_DISABLED" ]]; then
elif [[ ${option} == "SYSCTL_IPV6_DISABLED" ]]; then
if ! grep -q ${option} mailcow.conf; then
echo "Adding new option \"${option}\" to mailcow.conf"
echo "# Disable IPv6" >> mailcow.conf