From baa19083493f32199c2ec46f588345d4d83a0055 Mon Sep 17 00:00:00 2001 From: -h Date: Sat, 25 May 2019 16:52:06 +0100 Subject: [PATCH] [enh] Include arm binaries Should fix #14 --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 0a74227..4fedcf6 100644 --- a/scripts/install +++ b/scripts/install @@ -75,7 +75,11 @@ ynh_print_info --message="Setting up source files..." ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src +if [ -n "$(uname -m | grep arm)" ] ; then +ynh_setup_source --dest_dir="$final_path" --source_id="arm" +else ynh_setup_source --dest_dir="$final_path" +fi #================================================= # NGINX CONFIGURATION