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 2022-04-03 13:48:54 +02:00
parent 3d232d69ba
commit b2b1f359b5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -59,15 +59,11 @@ if [ -z "$final_path" ]; then
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
fi fi
# If lang exist, remove it
if [ -v "$lang" ]; then
ynh_app_setting_delete --app=$app --key=$lang
fi
# If language doesn't exist, create it # If language doesn't exist, create it
if [ -z "$language" ]; then if [ -z "$language" ]; then
language="en" language="en"
ynh_app_setting_set --app=$app --key=language --value=$language ynh_app_setting_set --app=$app --key=language --value=$language
ynh_app_setting_delete --app=$app --key=$lang
fi fi
case "$language" in case "$language" in