node 8.x -> 12.x

This commit is contained in:
ronivay
2020-03-14 10:09:47 +02:00
parent 8361b047e8
commit adf9b40735

View File

@@ -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