1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Add arm64 arch for ffmpeg

This commit is contained in:
dr41nU 2019-08-23 19:23:32 +02:00 committed by GitHub
parent acf180f7ac
commit 8f2245cdfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,11 +103,10 @@ 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" ;;
*) ynh_die "Unknown arch" ;;
esac
ynh_app_setting_set $app final_path $final_path