mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update upgrade
Fix no default phone region
This commit is contained in:
parent
80207df044
commit
29d2aafa4e
1 changed files with 6 additions and 0 deletions
|
@ -140,6 +140,12 @@ then
|
||||||
exec_occ maintenance:repair
|
exec_occ maintenance:repair
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
exec_occ config:system:set default_phone_region --value="$config_locale"
|
||||||
|
fi
|
||||||
|
|
||||||
# Upgrade may fail if this app is enabled
|
# Upgrade may fail if this app is enabled
|
||||||
# Take all apps enabled, and check if mail is one of them
|
# Take all apps enabled, and check if mail is one of them
|
||||||
# Then temporary disable the mail app
|
# Then temporary disable the mail app
|
||||||
|
|
Loading…
Add table
Reference in a new issue