From 131e1e3772c404f2a7145074aaa75f1a5ed56ba9 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:10:39 +0100 Subject: [PATCH] Update upgrade Fix for checking if config_locale is set --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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