Update twingate-connector.sh

This commit is contained in:
CanbiZ (MickLesk)
2026-04-23 13:45:43 +02:00
parent b909d53efb
commit ddadc2b9c5

View File

@@ -29,13 +29,9 @@ function update_script() {
exit
fi
msg_info "Updating ${APP}"
ensure_apt_working || return 100
$STD apt update || msg_warn "apt update failed, continuing with cached package lists"
install_packages_with_retry twingate-connector || {
msg_error "Failed to update ${APP} package"
return 100
}
msg_info "Updating Twingate Connector"
$STD apt update
$STD apt install -y --only-upgrade twingate-connector
$STD systemctl restart twingate-connector
msg_ok "Updated successfully!"
exit