From 6af3d5969264cf8a1c79b618944ad2a1e25226a5 Mon Sep 17 00:00:00 2001 From: Adam Marciniak Date: Thu, 12 Dec 2024 22:59:16 +0100 Subject: [PATCH] Update jellyfin.sh / Fix infinite loop (#792) Running the script created an infinite loop waiting for user input to confirm the installation of new packages. The -y option fixes this and allows the script to run without interaction and therefore as expected. --- ct/jellyfin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/jellyfin.sh b/ct/jellyfin.sh index e1562352..813200d3 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -61,7 +61,7 @@ if [[ ! -d /usr/lib/jellyfin ]]; then msg_error "No ${APP} Installation Found!"; msg_info "Updating ${APP} LXC" apt-get update &>/dev/null apt-get -y upgrade &>/dev/null -apt-get --with-new-pkgs upgrade jellyfin jellyfin-server &>/dev/null +apt-get -y --with-new-pkgs upgrade jellyfin jellyfin-server &>/dev/null msg_ok "Updated ${APP} LXC" exit }