mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Update upgrade
This commit is contained in:
parent
c165202753
commit
a3ab826fdc
1 changed files with 14 additions and 1 deletions
|
@ -15,6 +15,19 @@ source /usr/share/yunohost/helpers
|
|||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# If language doesn't exist, create it
|
||||
if [ -z "${language:-}" ]; then
|
||||
language="en"
|
||||
ynh_app_setting_set --app=$app --key=language --value=$language
|
||||
#fi
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
@ -67,7 +80,7 @@ then
|
|||
ynh_script_progression --message="Reconfiguring wallabag..." --weight=1
|
||||
|
||||
# Copy and set Wallabag dist configuration
|
||||
#ynh_add_config --template="../conf/parameters.yml" --destination="$install_dir/app/config/parameters.yml"
|
||||
ynh_add_config --template="../conf/parameters.yml" --destination="$install_dir/app/config/parameters.yml"
|
||||
|
||||
#=================================================
|
||||
# UPGRADE WALLABAG
|
||||
|
|
Loading…
Add table
Reference in a new issue