diff --git a/common/configure_fresh_system.sh b/common/configure_fresh_system.sh index c1bd7500..ebc65243 100755 --- a/common/configure_fresh_system.sh +++ b/common/configure_fresh_system.sh @@ -68,18 +68,11 @@ mkdir -p ~/.cargo/ echo "all links done" echo "adding NVM" -curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash +$CURL -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash echo "sourcing env" source ~/.setenv - -# symlink 'nodejs' as node on some systems -# will replace symlink if it exists, but won't replace regular file -if [[ ! -f /usr/bin/node ]]; then - if [[ -f /usr/bin/nodejs ]]; then - $SUDO ln -vfs /usr/bin/nodejs /usr/bin/node - fi -fi +nvm use node # tools ln -vfs "$DIR/tools" ~/