diff --git a/scripts/upgrade b/scripts/upgrade index d37ab1d..fcd7c41 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -82,6 +82,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 + ynh_secure_remove --file="$final_path/app" + ynh_secure_remove --file="$final_path/public/assets" # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" fi