From adf9b407355ad98f904ae7b8f4d33a3c7fde05e8 Mon Sep 17 00:00:00 2001 From: ronivay Date: Sat, 14 Mar 2020 10:09:47 +0200 Subject: [PATCH] node 8.x -> 12.x --- xo-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xo-install.sh b/xo-install.sh index 539d2e5..f809c4a 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -81,7 +81,7 @@ function InstallDependenciesCentOS { if [[ -z $(rpm -qa | grep ^node) ]]; then echo echo -ne "${PROGRESS} Installing node.js" - curl -s -L https://rpm.nodesource.com/setup_8.x | bash - >/dev/null + curl -s -L https://rpm.nodesource.com/setup_12.x | bash - >/dev/null echo -e "\r${OK} Installing node.js" fi @@ -181,7 +181,7 @@ function InstallDependenciesDebian { if [[ -z $(dpkg -l | grep node) ]] || [[ -z $(which npm) ]]; then echo echo -ne "${PROGRESS} Installing node.js" - curl -sL https://deb.nodesource.com/setup_8.x | bash - >/dev/null + curl -sL https://deb.nodesource.com/setup_12.x | bash - >/dev/null apt-get install -y nodejs >/dev/null echo -e "\r${OK} Installing node.js" fi