This commit is contained in:
Tobias 2026-01-11 12:56:38 +01:00 committed by GitHub
parent bd4f1f8f7a
commit 07261d16f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,27 +22,27 @@ color
catch_errors catch_errors
function update_script() { function update_script() {
header_info header_info
check_container_storage check_container_storage
check_container_resources check_container_resources
if [[ ! -f /etc/netbird/config.json ]]; then if [[ ! -f /etc/netbird/config.json ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_info "Updating ${APP}" msg_info "Updating Netbird"
$STD apt update $STD apt update
$STD apt upgrade -y $STD apt upgrade -y
msg_ok "Updated Successfully" msg_ok "Updated successfully!"
exit exit
} }
start start
build_container build_container
description description
msg_ok "Completed Successfully!\n" msg_ok "Completed successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access NetBird by entering the container and running:${CL}" echo -e "${INFO}${YW} Access NetBird by entering the container and running:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}netbird up${CL}" echo -e "${TAB}${GATEWAY}${BGN}netbird up${CL}"