mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-25 11:25:05 +02:00
Update twingate-connector.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user