mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-23 14:05:16 +00:00
Standardize update success messages in scripts (#8757)
This commit is contained in:
committed by
Michel Roegl-Brunner
parent
7abf03f388
commit
0e1346af5f
@@ -29,9 +29,9 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "revealjs" "hakimel/reveal.js"; then
|
||||
msg_info "Stopping $APP"
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop revealjs
|
||||
msg_ok "Stopped $APP"
|
||||
msg_info "Stopped Service"
|
||||
|
||||
cp /opt/revealjs/index.html /opt
|
||||
fetch_and_deploy_gh_release "revealjs" "hakimel/reveal.js" "tarball"
|
||||
@@ -43,14 +43,14 @@ function update_script() {
|
||||
sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js
|
||||
msg_ok "Updated $APP"
|
||||
|
||||
msg_info "Starting $APP"
|
||||
msg_info "Starting Service"
|
||||
systemctl start revealjs
|
||||
msg_ok "Started $APP"
|
||||
msg_ok "Started Service"
|
||||
|
||||
msg_info "Cleaning Up"
|
||||
rm -f /opt/index.html
|
||||
msg_ok "Cleanup Completed"
|
||||
msg_ok "Update Successful"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user