Alter if condition in install script

This commit is contained in:
Kallum Jones 2022-08-09 18:43:22 +01:00
parent 151d83f1e3
commit 274adc9778
No known key found for this signature in database
GPG Key ID: D7F4589C4D7F81A9

View File

@ -64,7 +64,7 @@ npm install --save
npm install -g @vercel/ncc
npx tsc
if [[ -n "$NVM_DIR" ]]
if [[ -v "$NVM_DIR" ]]
then
ln -s "$NVM_DIR/versions/node/$NODE_VERSION_STR/bin/ncc" "/usr/local/bin/ncc"
fi