Harmonize Service MSG-Blocks (#8233)

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
This commit is contained in:
CanbiZ
2025-10-10 11:15:44 +02:00
committed by GitHub
parent f39b17ad7a
commit 4b5fc75ee1
47 changed files with 173 additions and 172 deletions

View File

@ -45,7 +45,7 @@ function update_script() {
if [[ "${LATEST_VERSION}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
msg_info "Stopping ${APP} service"
systemctl stop odoo
msg_ok "Stopped ${APP}"
msg_ok "Stopped Service"
msg_info "Updating ${APP} to ${LATEST_VERSION}"
curl -fsSL https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${RELEASE}.latest_all.deb -o /opt/odoo.deb
@ -55,7 +55,7 @@ function update_script() {
msg_info "Starting ${APP} service"
systemctl start odoo
msg_ok "Started ${APP}"
msg_ok "Started Service"
msg_info "Cleaning Up"
rm -f /opt/odoo.deb