From af8e95e0bee1dc6667f9a47be8ad6d74855ed677 Mon Sep 17 00:00:00 2001 From: emy Date: Thu, 17 Mar 2022 06:18:30 +0100 Subject: [PATCH] ah no, that's the correct thing for functions --- scripts/install | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 6f45c11..ecff842 100755 --- a/scripts/install +++ b/scripts/install @@ -141,7 +141,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ### `ynh_setup_source` use the file conf/app.src # detect_arch comes from _common.sh / personnal helpers -architecture=detect_arch +architecture=$(detect_arch) # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --source_id=$architecture diff --git a/scripts/upgrade b/scripts/upgrade index 6985023..3630a1b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,8 +84,8 @@ then ynh_script_progression --message="Upgrading source files..." # detect_arch comes from _common.sh / personnal helpers - architecture=detect_arch - + architecture=$(detect_arch) + # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --source_id=$architecture --keep="config.yaml" fi