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