user may specify NODE_VER
这个提交包含在:
父节点
2d1a3a697d
当前提交
5fb6c3488e
@ -4,7 +4,12 @@
|
|||||||
# wget -nv https://example.com/setup.bash -O - | bash
|
# wget -nv https://example.com/setup.bash -O - | bash
|
||||||
|
|
||||||
BASE_URL="https://raw.githubusercontent.com/coolaj86/node-install-script/master"
|
BASE_URL="https://raw.githubusercontent.com/coolaj86/node-install-script/master"
|
||||||
NODE_VER="v0.11.14"
|
if [ -f "/tmp/NODE_VER" ]; then
|
||||||
|
NODE_VER=$(cat /tmp/NODE_VER | grep v)
|
||||||
|
fi
|
||||||
|
if [ -z "$NODE_VER" ]; then
|
||||||
|
NODE_VER="v0.11.14"
|
||||||
|
fi
|
||||||
OS="unsupported"
|
OS="unsupported"
|
||||||
ARCH=""
|
ARCH=""
|
||||||
|
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户