fix(hermesagent): replace ${APP} with literal name in msg lines

Resolve  to 'Hermes Agent' in all msg_info/msg_ok/msg_error
calls per CrazyWolf13 review feedback — improves readability for users
reading install output.
This commit is contained in:
Stephen Chin
2026-05-11 17:27:51 -07:00
parent c6f22c4038
commit 96d7c7d61d

View File

@@ -25,7 +25,7 @@ function update_script() {
check_container_resources
if [[ ! -x /home/hermes/.local/bin/hermes ]]; then
msg_error "No ${APP} Installation Found!"
msg_error "No Hermes Agent Installation Found!"
exit
fi
@@ -44,13 +44,13 @@ function update_script() {
systemctl stop hermes-dashboard
msg_ok "Stopped Services"
msg_info "Updating ${APP}"
msg_info "Updating Hermes Agent"
$STD setsid --wait bash -c '
set -a; source /etc/default/hermes; set +a
/home/hermes/.local/bin/hermes update --yes
'
chown -R hermes:hermes /home/hermes
msg_ok "Updated ${APP}"
msg_ok "Updated Hermes Agent"
msg_info "Starting Services"
systemctl start hermes-dashboard
@@ -64,7 +64,7 @@ build_container
description
msg_ok "Completed successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${CREATING}${GN}Hermes Agent setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Configure your model provider and gateway server inside the container:${CL}"
echo -e "${TAB}${BGN}su - hermes${CL}"
echo -e "${TAB}${BGN}hermes setup${CL}"