mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Add -f
This commit is contained in:
parent
473dd86f48
commit
7862182d6f
2
nvm.sh
2
nvm.sh
@ -262,7 +262,7 @@ nvm() {
|
||||
curl -L -C - --progress-bar $url -o "$tmptarball" && \
|
||||
nvm_checksum `${shasum} "$tmptarball" | awk '{print $1}'` $sum && \
|
||||
tar -xzf "$tmptarball" -C "$tmpdir" --strip-components 1 && \
|
||||
rm "$tmptarball" && \
|
||||
rm -f "$tmptarball" && \
|
||||
mv "$tmpdir" "$NVM_DIR/$VERSION"
|
||||
)
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user