From 3352c8a63ee9cc0cbf354f8d08af8c4f12974543 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Sun, 10 May 2026 12:34:19 -0700 Subject: [PATCH] Save Beszel version (#14389) --- ct/beszel.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ct/beszel.sh b/ct/beszel.sh index d3417a488..59fbe0989 100644 --- a/ct/beszel.sh +++ b/ct/beszel.sh @@ -36,7 +36,9 @@ function update_script() { msg_info "Updating Beszel" $STD /opt/beszel/beszel update sleep 2 && chmod +x /opt/beszel/beszel - msg_ok "Updated Beszel" + VERSION=$(/opt/beszel/beszel -v | awk '{print $3}') + echo "${VERSION}" >$HOME/.beszel + msg_ok "Updated Beszel to ${VERSION}" msg_info "Starting Service" systemctl start beszel-hub