aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-03-08 15:17:02 +0100
committerMateja <mail@matejamaric.com>2021-03-08 15:17:02 +0100
commit0cfec5e25ce71cbcb630cebd6d7b330a177d1573 (patch)
tree704c509507f2e8081b45d6a767e38922ffcefe6b
parent09b0ec71a69f9659ddb2c8f7d10b91295fb5afd3 (diff)
downloadsetup-scripts-0cfec5e25ce71cbcb630cebd6d7b330a177d1573.tar.gz
setup-scripts-0cfec5e25ce71cbcb630cebd6d7b330a177d1573.zip
Use nodesource for nodejs, instead of backports.
-rwxr-xr-xsetup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 78dd3ce..93b6b61 100755
--- a/setup.sh
+++ b/setup.sh
@@ -165,7 +165,9 @@ wget -O /tmp/composer-setup.php https://getcomposer.org/installer
sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer
#sudo composer self-update
-sudo apt -t buster-backports install -y nodejs npm
+#sudo apt -t buster-backports install -y nodejs npm
+curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
+sudo apt-get install -y nodejs
if [[ $latex_install ]]
then