chore: refactor update messages

This commit is contained in:
Tobias
2026-01-06 17:05:47 +01:00
parent 7c27cceec6
commit 5d7084c0bb
78 changed files with 155 additions and 158 deletions

View File

@@ -38,7 +38,7 @@ function update_script() {
cp /opt/hoodik/.env /tmp/hoodik.env.bak
msg_ok "Backed up Configuration"
msg_info "Updating ${APP} (Patience - this takes 15-20 minutes)"
msg_info "Updating Hoodik (Patience - this takes 15-20 minutes)"
source ~/.cargo/env
rm -rf /opt/hoodik
fetch_and_deploy_gh_release "hoodik" "hudikhq/hoodik" "tarball" "latest" "/opt/hoodik"
@@ -54,7 +54,7 @@ function update_script() {
$STD cargo build --release
cp /opt/hoodik/target/release/hoodik /usr/local/bin/hoodik
chmod +x /usr/local/bin/hoodik
msg_ok "Updated ${APP}"
msg_ok "Updated Hoodik"
msg_info "Restoring Configuration"
cp /tmp/hoodik.env.bak /opt/hoodik/.env
@@ -70,7 +70,6 @@ function update_script() {
msg_info "Starting Services"
systemctl start hoodik
msg_ok "Started Services"
msg_ok "Updated Successfully"
fi
exit
@@ -80,7 +79,7 @@ start
build_container
description
msg_ok "Completed Successfully!\n"
msg_ok "Completed successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5443${CL}"