Compare commits

..

No commits in common. "7a3530b24656d73dcb407c21d163524022ea5670" and "1c3e107f4aa9e9460ea52de7bc00aa856de42564" have entirely different histories.

1 changed files with 5 additions and 9 deletions

View File

@ -53,15 +53,11 @@ function default_settings() {
function update_script() { function update_script() {
header_info header_info
if [[ ! -d /opt/go2rtc ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP" msg_info "Updating $APP LXC"
systemctl stop go2rtc apt-get update &>/dev/null
cd /opt/go2rtc apt-get -y upgrade &>/dev/null
rm go2rtc_linux_amd64 msg_ok "Updated $APP LXC"
wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64
chmod +x go2rtc_linux_amd64
systemctl start go2rtc
msg_ok "Updated $APP"
exit exit
} }