mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2024-11-23 14:38:21 -05:00
Alter if condition in install script
This commit is contained in:
parent
151d83f1e3
commit
274adc9778
@ -64,7 +64,7 @@ npm install --save
|
|||||||
npm install -g @vercel/ncc
|
npm install -g @vercel/ncc
|
||||||
npx tsc
|
npx tsc
|
||||||
|
|
||||||
if [[ -n "$NVM_DIR" ]]
|
if [[ -v "$NVM_DIR" ]]
|
||||||
then
|
then
|
||||||
ln -s "$NVM_DIR/versions/node/$NODE_VERSION_STR/bin/ncc" "/usr/local/bin/ncc"
|
ln -s "$NVM_DIR/versions/node/$NODE_VERSION_STR/bin/ncc" "/usr/local/bin/ncc"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user