From 2ff74be3997b0e66482490510bc79c9aa30b20e4 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Fri, 13 Oct 2017 22:31:45 +0100
Subject: [PATCH] Don't check nodejs version right away

---
 src/freedombone-utils-nodejs | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs
index 6d5438885..0a7666f6c 100755
--- a/src/freedombone-utils-nodejs
+++ b/src/freedombone-utils-nodejs
@@ -98,11 +98,6 @@ function mesh_install_nodejs {
     fi
 
     $mesh_install_nodejs_prefix apt-get -yq install nodejs
-    CURR_NODE_VERSION=$(node --version)
-    if [[ "$CURR_NODE_VERSION" != "v${NODEJS_VERSION}" ]]; then
-        echo $"Expected node version $NODEJS_VERSION but actually have $CURR_NODE_VERSION"
-        exit 5274527
-    fi
 
     if [ -f $rootdir/usr/bin/nodejs ]; then
         cp $rootdir/usr/bin/nodejs $rootdir/usr/bin/node
-- 
GitLab