From 41157faabaac36c4b0e31d9038e17105169d8a24 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 19 Jul 2021 11:24:14 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8a5d79f..668a7c8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" if [ "$upgrade_type" == "UPGRADE_APP" ] then - +ynh_script_progression --message="Upgrading source files..." --weight=3 # Check if the repo can be updated with git if [ `cd $final_path && git rev-parse --is-inside-work-tree &> /dev/null` ]; then @@ -125,7 +125,6 @@ else # Create a temporary directory and backup smarty3 folder tmpdir="$(mktemp -d)" - ynh_script_progression --message="Upgrading source files..." --weight=3 cp -a "$final_path/view/smarty3" "$tmpdir/smarty3" # Remove the app directory securely