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