From 08390303835e19a9ddb1e4e506a20ccfe267ab00 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 18 Nov 2024 18:55:28 +0100 Subject: [PATCH] Update node-red.sh --- ct/node-red.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/node-red.sh b/ct/node-red.sh index b367274b..b1fac4c2 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -53,14 +53,14 @@ function default_settings() { } function update_script() { +header_info +check_container_storage +check_container_resources if [[ ! -d /root/.node-red ]]; then msg_error "No ${APP} Installation Found!"; exit; fi UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \ "1" "Update ${APP}" ON \ "2" "Install Themes" OFF \ 3>&1 1>&2 2>&3) -header_info -check_container_storage -check_container_resources if [ "$UPD" == "1" ]; then if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then if ! command -v npm >/dev/null 2>&1; then