mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
Update scripts/upgrade
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
1add9b7240
commit
86a05d8067
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
ynh_script_progression --message="Ensuring downward compatibility..."
|
||||
|
||||
# If language_key doesn't exist, create it
|
||||
if [ -z "$language_key" ]; then
|
||||
if [ -z "${language_key:-}" ]; then
|
||||
language_key=$(ynh_app_setting_get --app=$app --key=language)
|
||||
ynh_app_setting_set --app=$app --key=language_key --value=$language_key
|
||||
ynh_app_setting_delete --app=$app --key=language
|
||||
|
|
Loading…
Add table
Reference in a new issue