1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Update install

Fix language values for config.php
This commit is contained in:
CodeShakingSheep 2024-02-09 14:23:13 +01:00 committed by GitHub
parent 29d2aafa4e
commit ca5453e633
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,10 +88,15 @@ ynh_script_progression --message="Configuring $app..." --weight=8
exec_occ config:system:set mysql.utf8mb4 --type boolean --value="true" exec_occ config:system:set mysql.utf8mb4 --type boolean --value="true"
# Set default language in config.php # Set default language in config.php
exec_occ config:system:set default_language --value="$language" raw_language=$(echo "$language" | awk -F'_' '{print $1}')
exec_occ config:system:set default_language --value="$raw_language"
# Set default locale in config.php
exec_occ config:system:set default_locale --value="$language"
# Set default phone region in config.php # Set default phone region in config.php
exec_occ config:system:set default_phone_region --value="$language" country=$(echo "$language" | awk -F'_' '{print $2}')
exec_occ config:system:set default_phone_region --value="$country"
# Ensure that UpdateNotification app is disabled # Ensure that UpdateNotification app is disabled
exec_occ app:disable updatenotification exec_occ app:disable updatenotification