mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-26 02:24:44 +00:00
Save Beszel version (#14389)
This commit is contained in:
+3
-1
@@ -36,7 +36,9 @@ function update_script() {
|
|||||||
msg_info "Updating Beszel"
|
msg_info "Updating Beszel"
|
||||||
$STD /opt/beszel/beszel update
|
$STD /opt/beszel/beszel update
|
||||||
sleep 2 && chmod +x /opt/beszel/beszel
|
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"
|
msg_info "Starting Service"
|
||||||
systemctl start beszel-hub
|
systemctl start beszel-hub
|
||||||
|
|||||||
Reference in New Issue
Block a user