Skip to content

Commit 467ec35

Browse files
authored
fix: setup_nvm.sh Merge pull request #38 from Sergeant61/patch-1
fix: setup_nvm.sh
2 parents e2ac0ff + c684f9b commit 467ec35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/scripts/setup_nvm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ echo "Node: $NODE_VERSION (parsed: $MAJOR_NODE_VERSION.$MINOR_NODE_VERSION.$PATC
2121
if [[ $MAJOR_NODE_VERSION == "14" && $MINOR_NODE_VERSION -ge 21 && $PATCH_NODE_VERSION -ge 4 ]]; then
2222
NODE_INSTALL_PATH="/home/app/.nvm/versions/node/v$NODE_VERSION"
2323

24-
if [ -f $NODE_INSTALL_PATH ]; then
24+
if [ -d $NODE_INSTALL_PATH ]; then
2525
echo "Meteor's custom v14 LTS Node version is already installed ($NODE_VERSION)"
2626
else
2727
echo "Using Meteor's custom NodeJS v14 LTS version"

0 commit comments

Comments
 (0)