From c8a7cb4b8974df0bf8f6e30182fb4e14f63caa25 Mon Sep 17 00:00:00 2001 From: Zlatko Date: Mon, 26 Apr 2021 22:40:14 +0200 Subject: [PATCH] node version 10.x => 12.x --- install-gui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-gui.sh b/install-gui.sh index 60dd323e7fd2..cf28687cf128 100644 --- a/install-gui.sh +++ b/install-gui.sh @@ -21,12 +21,12 @@ if [ "$(uname)" = "Linux" ]; then elif type yum && [ ! -f "/etc/redhat-release" ] && [ ! -f "/etc/centos-release" ]; then # AMZN 2 echo "Installing on Amazon Linux 2" - curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - + curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash - sudo yum install -y nodejs elif type yum && [ -f /etc/redhat-release ] || [ -f /etc/centos-release ]; then # CentOS or Redhat echo "Installing on CentOS/Redhat" - curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - + curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash - sudo yum install -y nodejs fi elif [ "$(uname)" = "Darwin" ] && type brew && ! npm version >/dev/null 2>&1; then