Skip to content

Commit

Permalink
Update jellyfin.sh / Fix infinite loop (#792)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gerpo authored Dec 12, 2024
1 parent 6fb6c58 commit e7ac005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct/jellyfin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e7ac005

Please sign in to comment.