mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-26 05:27:29 +02:00
Update update.sh
Should be `elif` instead of `if`
This commit is contained in:
parent
78870995d0
commit
6db217d97e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user