mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-18 05:43:05 +00:00
[New] After installing, ensure that the default is set.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p ../../alias
|
||||
rm -rf ../../alias/default
|
||||
rm -f ../../.nvmrc
|
||||
rm -rf ../../v0.10.7
|
||||
rm -rf ../../v0.9.7
|
||||
@@ -8,5 +9,6 @@ rm -rf ../../v0.9.12
|
||||
|
||||
. ../../nvm.sh
|
||||
nvm install 0.10.1 || echo >&2 'nvm install 0.10.1 failed'
|
||||
nvm unalias default || 'removing default alias failed'
|
||||
nvm unload || echo >&2 'nvm unload failed'
|
||||
|
||||
|
Reference in New Issue
Block a user