mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update upgrade
Fix for checking if config_locale is set
This commit is contained in:
parent
da635164f7
commit
131e1e3772
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ then
|
||||||
# Fix warning "Your installation has no default phone region set"
|
# Fix warning "Your installation has no default phone region set"
|
||||||
if [ "$(exec_occ config:system:get default_phone_region)" == "" ]; then
|
if [ "$(exec_occ config:system:get default_phone_region)" == "" ]; then
|
||||||
config_locale=$(exec_occ config:system:get default_locale)
|
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
|
# If it's not set in config use "US" as default
|
||||||
country="US"
|
country="US"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue