Browse Source

test nodefix

v1.3
Christian Rotzoll 6 years ago
parent
commit
fb1135c33d
  1. 4
      home.admin/config.scripts/bonus.rtl.sh

4
home.admin/config.scripts/bonus.rtl.sh

@ -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…
Cancel
Save