From 5aa9cca6c2842930ed8321a1ef6eeebacb8a7882 Mon Sep 17 00:00:00 2001 From: Kallum Jones Date: Tue, 9 Aug 2022 18:46:55 +0100 Subject: [PATCH] Inverse if condition --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5d330da..f4df77f 100644 --- a/install.sh +++ b/install.sh @@ -64,7 +64,7 @@ npm install --save npm install -g @vercel/ncc npx tsc -if [[ -v $NVM_DIR ]] +if [[ ! -v $NVM_DIR ]] then ln -s "$NVM_DIR/versions/node/$NODE_VERSION_STR/bin/ncc" "/usr/local/bin/ncc" fi