From 5d9e187ceddf0abd7a8a7c8795f97c1a69ef7181 Mon Sep 17 00:00:00 2001 From: Arsenii Petrovich Date: Mon, 17 Jun 2019 20:28:51 +0300 Subject: [PATCH] Update nodejs installation process --- base/tasks/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.."