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:
parent
515f22a13a
commit
af70566825
1 changed files with 14 additions and 5 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue