mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
If set, remove var $lang
This commit is contained in:
parent
2d10c95b61
commit
3d232d69ba
1 changed files with 5 additions and 0 deletions
|
@ -59,6 +59,11 @@ if [ -z "$final_path" ]; then
|
|||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
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 [ -z "$language" ]; then
|
||||
language="en"
|
||||
|
|
Loading…
Reference in a new issue