From 7cf0816cc77c7cdc78cf025135e378d3b676274e Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 29 Jan 2023 15:27:10 +0700 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 43593a4..34a204c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -85,6 +85,11 @@ ynh_system_user_create --username=$app --home_dir="$final_path" if [ "$upgrade_type" == "UPGRADE_APP" ] 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 # Download, check integrity, uncompress and patch the source from app.src