mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 21:30:41 +00:00
Standardize update success messages in scripts (#8757)
This commit is contained in:
@@ -30,9 +30,9 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "streamlink-webui" "CrazyWolf13/streamlink-webui"; then
|
||||
msg_info "Stopping $APP"
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop ${APP}
|
||||
msg_ok "Stopped $APP"
|
||||
msg_info "Stopped Service"
|
||||
|
||||
rm -rf /opt/${APP}
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
@@ -49,10 +49,10 @@ function update_script() {
|
||||
chmod +x /opt/"${APP}"/start.sh
|
||||
msg_ok "Updated $APP"
|
||||
|
||||
msg_info "Starting $APP"
|
||||
msg_info "Starting Service"
|
||||
systemctl start ${APP}
|
||||
msg_ok "Started $APP"
|
||||
msg_ok "Update Successful"
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user