Update twingate-connector.sh

This commit is contained in:
CanbiZ (MickLesk)
2026-04-23 13:45:43 +02:00
parent b909d53efb
commit ddadc2b9c5
+3 -7
View File
@@ -29,13 +29,9 @@ function update_script() {
exit exit
fi fi
msg_info "Updating ${APP}" msg_info "Updating Twingate Connector"
ensure_apt_working || return 100 $STD apt update
$STD apt update || msg_warn "apt update failed, continuing with cached package lists" $STD apt install -y --only-upgrade twingate-connector
install_packages_with_retry twingate-connector || {
msg_error "Failed to update ${APP} package"
return 100
}
$STD systemctl restart twingate-connector $STD systemctl restart twingate-connector
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
exit exit