From 00031a3b88c5e382535e0bad4983c60396a83fad Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 25 Jul 2019 22:37:04 +0200 Subject: [PATCH] remove v10 accept --- home.admin/config.scripts/bonus.rtl.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/home.admin/config.scripts/bonus.rtl.sh b/home.admin/config.scripts/bonus.rtl.sh index dc8ae1116..a127aaeef 100755 --- a/home.admin/config.scripts/bonus.rtl.sh +++ b/home.admin/config.scripts/bonus.rtl.sh @@ -39,13 +39,10 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then sudo apt-get install -y nodejs echo "" - # check if nodeJS was installed (v11 or v10) + # check if nodeJS was installed (v11) nodeJSInstalled=$(node -v | grep -c "v11.") if [ ${nodeJSInstalled} -eq 0 ]; then - nodeJSInstalled=$(node -v | grep -c "v10.") - fi - if [ ${nodeJSInstalled} -eq 0 ]; then - echo "FAIL - Was not able to install nodeJS 10/11" + echo "FAIL - Was not able to install nodeJS 11" echo "ABORT - RTL install" exit 1 fi