remove v10 accept

This commit is contained in:
Christian Rotzoll
2019-07-25 22:37:04 +02:00
parent 638dddb777
commit 00031a3b88

View File

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