From ba6a41cc75754a9e53a6ea2f3970742760109ecc Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 16 Jan 2021 18:54:46 +0800 Subject: [PATCH] [misc] update default version --- devel/nodejs.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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