diff --git a/devel/nodejs.sh b/devel/nodejs.sh index 626fd67..8d77e00 100755 --- a/devel/nodejs.sh +++ b/devel/nodejs.sh @@ -7,7 +7,7 @@ DIR=$(dirname "$(readlink -f "$0")") FILES_PATH=$PREFIX/nodejs NODE_BIN=$PREFIX/bin/node NODE_URL=https://nodejs.org/dist -NODE_VERSION=v14.15.1 +NODE_VERSION=v14.15.4 NPM_BIN=npm if in_china; then NODE_URL=https://npm.taobao.org/mirrors/node @@ -22,9 +22,6 @@ lspkgs() { | jq '.[] | "\(.version) \(if .lts then "(lts)" else "" end)"' -r } -cocsetup() { -} - uninstall() { if [ -f "$FILES_PATH" ]; then tac "$FILES_PATH" | grep -v '/$' | xargs sudo rm -f