From 5e9a5d25f760d03478179bedce39b730a0892454 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 14 Mar 2022 23:06:30 +0100 Subject: [PATCH] fix getting the source files depending on the architecture --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index d344f67..16a7505 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -129,8 +129,10 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." + architecture=$YNH_ARCH + # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --source_id=$architecture fi # FIXME: this should be managed by the core in the future