mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
parent
f2c326147d
commit
d9812a5970
1 changed files with 2 additions and 2 deletions
|
|
@ -424,7 +424,7 @@ install_standalone() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install_npm() {
|
install_npm() {
|
||||||
echoh "Installing latest from npm."
|
echoh "Installing v$VERSION from npm."
|
||||||
echoh
|
echoh
|
||||||
|
|
||||||
NPM_PATH="${YARN_PATH-npm}"
|
NPM_PATH="${YARN_PATH-npm}"
|
||||||
|
|
@ -436,7 +436,7 @@ install_npm() {
|
||||||
fi
|
fi
|
||||||
echoh "Installing with npm."
|
echoh "Installing with npm."
|
||||||
echoh
|
echoh
|
||||||
"$sh_c" "$NPM_PATH" install -g code-server --unsafe-perm
|
"$sh_c" "$NPM_PATH" install -g "code-server@$VERSION" --unsafe-perm
|
||||||
NPM_BIN_DIR="\$($NPM_PATH bin -g)" echo_npm_postinstall
|
NPM_BIN_DIR="\$($NPM_PATH bin -g)" echo_npm_postinstall
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue