1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Update upgrade

This commit is contained in:
Limezy 2023-01-29 15:28:27 +07:00
parent 50336bc0cc
commit 343ee4c992

View file

@ -85,6 +85,11 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Cleaning up files..." --weight=1
# Void and recreate final_path
ynh_secure_remove --file="$final_path"
ynh_exec_warn_less mkdir "$final_path"
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src