From d1956cab00c5bf9f11032fee4c2b4a2f87d1d666 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Wed, 26 Sep 2018 12:13:10 -0300 Subject: [PATCH] node7 -> 10 --- bin/installbfa.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/installbfa.sh b/bin/installbfa.sh index 9ab1b85..2ab7a09 100755 --- a/bin/installbfa.sh +++ b/bin/installbfa.sh @@ -9,6 +9,7 @@ set -e if [ `id -u` -ne 0 ] then + echo "We are not root, but we need to be. Trying sudo now." exec sudo $0 fi @@ -56,11 +57,11 @@ function nodejs_pre yesno n Add nodejs software repository PGP key && apt-key adv --keyserver keyserver.ubuntu.com --recv ${NODEJSPGP} fi - local file=/etc/apt/sources.list.d/nodejs.list + local file=/etc/apt/sources.list.d/nodesource.list if [ ! -r "$file" ] then info Adding nodejs repository to apt sources. - echo "deb https://deb.nodesource.com/node_7.x $(lsb_release -sc) main" > $file + echo "deb https://deb.nodesource.com/node_10.x $(lsb_release -sc) main" > $file info And now updating the software package list. apt update fi -- GitLab