Browse Source

Don't check nodejs version right away

Bob Mottram 7 years ago
parent
commit
2ff74be399
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      src/freedombone-utils-nodejs

+ 0
- 5
src/freedombone-utils-nodejs View File

@@ -98,11 +98,6 @@ function mesh_install_nodejs {
98 98
     fi
99 99
 
100 100
     $mesh_install_nodejs_prefix apt-get -yq install nodejs
101
-    CURR_NODE_VERSION=$(node --version)
102
-    if [[ "$CURR_NODE_VERSION" != "v${NODEJS_VERSION}" ]]; then
103
-        echo $"Expected node version $NODEJS_VERSION but actually have $CURR_NODE_VERSION"
104
-        exit 5274527
105
-    fi
106 101
 
107 102
     if [ -f $rootdir/usr/bin/nodejs ]; then
108 103
         cp $rootdir/usr/bin/nodejs $rootdir/usr/bin/node