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:
parent
ae669c56eb
commit
0e1e9ca401
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue