Skip to content

Commit e7ac005

Browse files
authored
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.
1 parent 6fb6c58 commit e7ac005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ct/jellyfin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if [[ ! -d /usr/lib/jellyfin ]]; then msg_error "No ${APP} Installation Found!";
6161
msg_info "Updating ${APP} LXC"
6262
apt-get update &>/dev/null
6363
apt-get -y upgrade &>/dev/null
64-
apt-get --with-new-pkgs upgrade jellyfin jellyfin-server &>/dev/null
64+
apt-get -y --with-new-pkgs upgrade jellyfin jellyfin-server &>/dev/null
6565
msg_ok "Updated ${APP} LXC"
6666
exit
6767
}

0 commit comments

Comments
 (0)