1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-04-05 23:55:37 +02:00
parent 7e2f73ecad
commit 62645cd2ba

View file

@ -28,7 +28,7 @@ upgrade_type=$(ynh_check_app_version_changed)
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# If backend_path doesn't exist, create it
if [ -z "$backend_path" ]; then
if [ -z "${backend_path:-}" ]; then
backend_path=/opt/$app
ynh_app_setting_set --app=$app --key=backend_path --value=$backend_path
fi