Don't check nodejs version right away

This commit is contained in:
Bob Mottram 2017-10-13 22:31:45 +01:00
parent 4055590fcc
commit 2ff74be399
1 changed files with 0 additions and 5 deletions

View File

@ -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