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 #=================================================