From d2f33417b4211bed360ff886fed55e2377153aed Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 13 Mar 2022 21:23:11 +0100 Subject: [PATCH] support for multiple architectures --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e715c22..93a2b9e 100755 --- a/scripts/install +++ b/scripts/install @@ -144,9 +144,11 @@ ynh_script_progression --message="Setting up source files..." --time --weight=1 ### downloaded from an upstream source, like a git repository. ### `ynh_setup_source` use the file conf/app.src +architecture=$YNH_ARCH + ynh_app_setting_set --app=$app --key=final_path --value=$final_path # 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 # FIXME: this should be managed by the core in the future # Here, as a packager, you may have to tweak the ownerhsip/permissions