From 32809b5584f04abfa81c1b60bdf18d592efbe9dd Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:22:16 +0100 Subject: [PATCH] Remove old full_replace alternative --- scripts/upgrade | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 64fca68..65a462f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,10 +33,6 @@ ynh_systemd_action --action="stop" --service_name="${app}-worker" --log_path="sy if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - - # Remove the old files - ynh_secure_remove --file="$install_dir/api" - ynh_secure_remove --file="$install_dir/front" # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir/api" --source_id="api" --full_replace=1