Update nodejs installation process

This commit is contained in:
Arsenii Petrovich 2019-06-17 20:28:51 +03:00 committed by GitHub
parent 32232260fc
commit 5d9e187ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ if ! which libtool >/dev/null; then
fi
if ! which node >/dev/null; then
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
if ! which gcc >/dev/null; then
log "Installing C compiling tools.."