mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-17 16:45:06 +00:00
prevent false positives in option detection in new_options.sh
This commit is contained in:
parent
82ea418423
commit
709117fe19
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue