diff --git a/ct/cronicle.sh b/ct/cronicle.sh index 52ac723c9..a1cfd7a07 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..."