1
0
Fork 0
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:
ericgaspar 2021-06-24 18:15:56 +02:00
parent d6b4b8277b
commit 93c97c1ab5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -103,7 +103,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=6
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/app/config/parameters.yml"
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/app/config/parameters.yml"
# Clear cache
ynh_secure_remove --file="$final_path/var/cache"
@ -147,9 +147,9 @@ ynh_add_fail2ban_config --logpath="$final_path/var/logs/prod.log" --failregex='a
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
#ynh_script_progression --message="Reconfiguring wallabag..." --weight=11
ynh_script_progression --message="Reconfiguring wallabag..." --weight=11
#ynh_add_config --template="../conf/parameters.yml.dist" --destination="$final_path/app/config/parameters.yml"
ynh_add_config --template="../conf/parameters.yml.dist" --destination="$final_path/app/config/parameters.yml"
#=================================================
# UPGRADE WALLABAG