Update nodejs installation process
This commit is contained in:
parent
32232260fc
commit
5d9e187ced
|
@ -42,7 +42,8 @@ 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.."
|
||||||
yum --enablerepo=epel install -y nodejs >"$LOG"
|
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
|
||||||
|
yum install -y nodejs
|
||||||
fi
|
fi
|
||||||
if ! which gcc >/dev/null; then
|
if ! which gcc >/dev/null; then
|
||||||
log "Installing C compiling tools.."
|
log "Installing C compiling tools.."
|
||||||
|
|
Loading…
Reference in New Issue