Set Updating in CT

This commit is contained in:
CanbiZ 2024-11-21 09:37:55 +01:00 committed by GitHub
parent 02da8575f2
commit 3528dba6bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,12 +62,16 @@ msg_info "Stopping ${APP}"
systemctl stop nextpvr-server systemctl stop nextpvr-server
msg_ok "Stopped ${APP}" msg_ok "Stopped ${APP}"
msg_info "Updating ${APP}" msg_info "Updating LXC packages"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated LXC packages"
msg_info "Updating ${APP}"
cd /opt cd /opt
wget -q https://nextpvr.com/nextpvr-helper.deb wget -q https://nextpvr.com/nextpvr-helper.deb
DEBIAN_FRONTEND=noninteractive dpkg -i nextpvr-helper.deb &>/dev/null dpkg -i nextpvr-helper.deb &>/dev/null
msg_ok "Updated ${APP}"
msg_info "Starting ${APP}" msg_info "Starting ${APP}"
systemctl start nextpvr-server systemctl start nextpvr-server