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