1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-09-13 19:38:13 +02:00
parent a0b58f5796
commit c2df7fc15e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -66,6 +66,13 @@ if [ -z "$language" ]; then
ynh_app_setting_delete --app=$app --key=$lang
fi
# If language doesn't exist, create it
if [ -z "$lang" ]; then
language="en"
ynh_app_setting_set --app=$app --key=language --value=$language
ynh_app_setting_delete --app=$app --key=$lang
fi
case "$language" in
Francais)
language="fr"