diff --git a/scripts/upgrade b/scripts/upgrade index e6441fe..59e530d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -143,7 +143,7 @@ then # Fix warning "Your installation has no default phone region set" if [ "$(exec_occ config:system:get default_phone_region)" == "" ]; then config_locale=$(exec_occ config:system:get default_locale) - if [ "$config_locale" == "" ]; then + if [ -z "$config_locale" ]; then # If it's not set in config use "US" as default country="US" else