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

Update upgrade

This commit is contained in:
liberodark 2020-07-21 21:41:02 +02:00 committed by GitHub
parent 515f22a13a
commit af70566825
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,11 +27,19 @@ case $(uname -m) in
*) ynh_die "Unknown arch" ;;
esac
# Download, check integrity, uncompress and patch the source from jellyfin-[arch].src
# Download, check integrity, uncompress and patch the source from jellyfin-server-[arch].src
case $(uname -m) in
x86_64) ynh_setup_source "$final_path" "jellyfin-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-arm64" ;;
armv7l) ynh_setup_source "$final_path" "jellyfin-armhf" ;;
x86_64) ynh_setup_source "$final_path" "jellyfin-server-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-server-arm64" ;;
armv7l) ynh_setup_source "$final_path" "jellyfin-server-armhf" ;;
*) ynh_die "Unknown arch" ;;
esac
# Download, check integrity, uncompress and patch the source from jellyfin-web-[arch].src
case $(uname -m) in
x86_64) ynh_setup_source "$final_path" "jellyfin-web-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-web-arm64" ;;
armv7l) ynh_setup_source "$final_path" "jellyfin-web-armhf" ;;
*) ynh_die "Unknown arch" ;;
esac
@ -40,7 +48,8 @@ esac
#==============================================
dpkg --install "$final_path"/jellyfin-ffmpeg.deb
dpkg --install "$final_path"/jellyfin.deb
dpkg --install "$final_path"/jellyfin-server.deb
dpkg --install "$final_path"/jellyfin-web.deb
rm "$final_path"/*.deb
#=================================================