From 515f22a13a1af64bd426d4c539e0f62627b963b2 Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 21 Jul 2020 21:39:17 +0200 Subject: [PATCH] Update install --- scripts/install | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1a277b2..ce19e3b 100644 --- a/scripts/install +++ b/scripts/install @@ -112,9 +112,17 @@ esac # Download, check integrity, uncompress and patch the source from jellyfin-[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-[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 @@ -126,7 +134,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 #=================================================