mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
test nodefix
This commit is contained in:
parent
ea2435b7da
commit
fb1135c33d
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue