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 2022-06-21 15:42:43 +02:00
parent ae669c56eb
commit 0e1e9ca401
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

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