From ddadc2b9c5deaae297c55ff1fd46bd71ed794076 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 23 Apr 2026 13:45:43 +0200 Subject: [PATCH] Update twingate-connector.sh --- ct/twingate-connector.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ct/twingate-connector.sh b/ct/twingate-connector.sh index 5fd4bb2c7..0f97f1877 100644 --- a/ct/twingate-connector.sh +++ b/ct/twingate-connector.sh @@ -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