From 6b545481d39d41327f57c9785dba369d66cfc9b6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 11 May 2020 09:41:25 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a252a5a..4472cf4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,8 +74,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=4 - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + # Download the source from ../sources + mkdir -p $final_path + cp -a ../sources/* $final_path fi #=================================================