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