mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-04-18 05:19:34 +00:00
prevent false positives in option detection in new_options.sh
This commit is contained in:
@@ -64,7 +64,7 @@ adapt_new_options() {
|
|||||||
|
|
||||||
sed -i --follow-symlinks '$a\' mailcow.conf
|
sed -i --follow-symlinks '$a\' mailcow.conf
|
||||||
for option in ${CONFIG_ARRAY[@]}; do
|
for option in ${CONFIG_ARRAY[@]}; do
|
||||||
if grep -q "^${option}=" mailcow.conf; then
|
if grep -q "^#\?${option}=" mailcow.conf; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user