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 check for installing ffmpeg

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

View file

@ -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