From c684f9bc5e8bdde6396db216c90b4a208a24830e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Recep=20=C3=96zen?= Date: Tue, 30 Jan 2024 10:41:21 +0300 Subject: [PATCH] Update setup_nvm.sh --- image/scripts/setup_nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/scripts/setup_nvm.sh b/image/scripts/setup_nvm.sh index ab12d1c..48d5a72 100644 --- a/image/scripts/setup_nvm.sh +++ b/image/scripts/setup_nvm.sh @@ -21,7 +21,7 @@ echo "Node: $NODE_VERSION (parsed: $MAJOR_NODE_VERSION.$MINOR_NODE_VERSION.$PATC if [[ $MAJOR_NODE_VERSION == "14" && $MINOR_NODE_VERSION -ge 21 && $PATCH_NODE_VERSION -ge 4 ]]; then NODE_INSTALL_PATH="/home/app/.nvm/versions/node/v$NODE_VERSION" - if [ -f $NODE_INSTALL_PATH ]; then + if [ -d $NODE_INSTALL_PATH ]; then echo "Meteor's custom v14 LTS Node version is already installed ($NODE_VERSION)" else echo "Using Meteor's custom NodeJS v14 LTS version"