Skip to content
Snippets Groups Projects
Commit 2ff74be3 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't check nodejs version right away

parent 4055590f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment