From 33721189f1e3d6e08cc38a8d12a50f7e753ba49c Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Tue, 5 Apr 2022 21:00:11 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index fc9a5a6..f05829c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,6 +90,11 @@ then if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; then pushd "$final_path" + ynh_setup_source --dest_dir=$final_path + ynh_secure_remove --file="$final_path/bootstrap/cache/*" + ynh_secure_remove --file="$final_path/vendor/" + popd + else ynh_script_progression --message="Upgrading source files..." # Create a temporary directory