From af70566825aedfefcae2c21690457274f80f02be Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 21 Jul 2020 21:41:02 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7d6665f..ad09a8b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================