From 471cbae95de28bd5dcbad50dc700e395c8251d6c Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 18 Nov 2024 18:45:58 +0100 Subject: [PATCH] Update cronicle.sh --- ct/cronicle.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ct/cronicle.sh b/ct/cronicle.sh index 52ac723c..a1cfd7a0 100644 --- a/ct/cronicle.sh +++ b/ct/cronicle.sh @@ -53,15 +53,15 @@ function default_settings() { } function update_script() { +header_info +check_container_storage +check_container_resources UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \ "1" "Upgrade ${APP}" ON \ "2" "Install ${APP} Worker" OFF \ 3>&1 1>&2 2>&3) if [ "$UPD" == "1" ]; then -header_info -check_container_storage -check_container_resources if [[ ! -d /opt/cronicle ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then if ! command -v npm >/dev/null 2>&1; then @@ -76,9 +76,6 @@ msg_ok "Updated ${APP}" exit fi if [ "$UPD" == "2" ]; then -header_info -check_container_storage -check_container_resources if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then if ! command -v npm >/dev/null 2>&1; then echo "Installing NPM..."