mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
test nodefix
This commit is contained in:
@@ -61,8 +61,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
export PATH=/usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin:$PATH
|
||||
echo ""
|
||||
|
||||
# check if nodeJS was installed (v11)
|
||||
nodeJSInstalled=$(node -v | grep -c "v11.")
|
||||
# check if nodeJS was installed
|
||||
nodeJSInstalled=$(node -v | grep -c "v1.")
|
||||
if [ ${nodeJSInstalled} -eq 0 ]; then
|
||||
echo "FAIL - Was not able to install nodeJS"
|
||||
echo "ABORT - RTL install"
|
||||
|
Reference in New Issue
Block a user