diff --git a/base/tasks/update.sh b/base/tasks/update.sh index 3479af8..e403038 100755 --- a/base/tasks/update.sh +++ b/base/tasks/update.sh @@ -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.."