Standardize update success messages in scripts (#8757)

This commit is contained in:
CanbiZ
2025-10-30 09:24:16 -07:00
committed by Michel Roegl-Brunner
parent 7abf03f388
commit 0e1346af5f
357 changed files with 1296 additions and 1217 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: Slaviša Arežina (tremor021)
@@ -29,9 +29,9 @@ function update_script() {
exit
fi
if check_for_gh_release "excalidraw" "excalidraw/excalidraw"; then
msg_info "Stopping $APP"
msg_info "Stopping Service"
systemctl stop excalidraw
msg_ok "Stopped $APP"
msg_info "Stopped Service"
rm -rf /opt/excalidraw
fetch_and_deploy_gh_release "excalidraw" "excalidraw/excalidraw"
@@ -41,10 +41,10 @@ function update_script() {
$STD yarn
msg_ok "Updated $APP"
msg_info "Starting $APP"
msg_info "Starting Service"
systemctl start excalidraw
msg_ok "Started $APP"
msg_ok "Updated Successfully"
msg_ok "Started Service"
msg_ok "Updated successfully!"
fi
exit
}