mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
chore: refactor update messages
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user