Merge pull request #151 from poanetwork/vb-node12
Init script: explicitly install node 12
This commit is contained in:
commit
d139ce4d3f
|
@ -66,6 +66,7 @@ if ! which libtool >/dev/null; then
|
||||||
fi
|
fi
|
||||||
if ! which node >/dev/null; then
|
if ! which node >/dev/null; then
|
||||||
log "Installing nodejs.."
|
log "Installing nodejs.."
|
||||||
|
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
|
||||||
yum --enablerepo=epel install -y nodejs >"$LOG"
|
yum --enablerepo=epel install -y nodejs >"$LOG"
|
||||||
fi
|
fi
|
||||||
if ! which gcc >/dev/null; then
|
if ! which gcc >/dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue