From acf180f7aca418e438abb700373f80f3d9eff9af Mon Sep 17 00:00:00 2001 From: dr41nU <50152843+dr41nU@users.noreply.github.com> Date: Fri, 23 Aug 2019 19:06:49 +0200 Subject: [PATCH] Add arm64 arch check for installing ffmpeg --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 9245d32..1a9b254 100644 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,13 @@ ynh_app_setting_set $app port $port 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" "jellyfin-ffmpeg" +case `uname -m` in + x86_64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-amd64" ;; + aarch64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-arm64" ;; + *) ynh_die --message="Unknown arch" ;; +esac ynh_app_setting_set $app final_path $final_path # Download, check integrity, uncompress and patch the source from app.src