Verified Commit 52077ebc authored by CompileNix's avatar CompileNix

remove "./init.sh" from "enable-nvm.sh" script

parent 96f0e22b
......@@ -4,7 +4,6 @@ export NVM_DIR="$(realpath $HOME/.nvm)"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" || {
echo "you need nvm (https://github.com/creationix/nvm)\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash"; exit 1
}
[ ! -d "./node_modules" ] && ./init.sh
nvm --version 1>/dev/null 2>&1
[ $? -ne 0 ] && echo "you need nvm (https://github.com/creationix/nvm)\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash" && exit 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment