From ea02ed743361bd99bf6a830a3b9c86458618a228 Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 17 Jan 2020 13:49:23 +0100 Subject: [PATCH] Update install --- scripts/install | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 7736b33..bffedb2 100644 --- a/scripts/install +++ b/scripts/install @@ -90,9 +90,14 @@ port=$(ynh_find_port 53) # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_app_setting_set "$app" final_path "$final_path" -# Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source "$final_path" +ynh_app_setting_set $app final_path $final_path + +# Download, check integrity, uncompress and patch the source from jellyfin-[arch].src +case `uname -m` in + x86_64) ynh_setup_source "$final_path" "app-amd64" ;; + aarch64) ynh_setup_source "$final_path" "app-arm64" ;; + *) ynh_die "Unknown arch" ;; +esac #================================================= # GENERATE PASSWORD