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