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