|
@@ -141,6 +141,9 @@ function mesh_install_nodejs {
|
141
|
141
|
cp "$rootdir/usr/local/bin/npm" /usr/bin/npm
|
142
|
142
|
fi
|
143
|
143
|
cp "$rootdir/usr/bin/npm" "$rootdir/root/npm"
|
|
144
|
+ if [ -f "$rootdir/usr/bin/node" ]; then
|
|
145
|
+ cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
|
|
146
|
+ fi
|
144
|
147
|
|
145
|
148
|
# check the version numbers
|
146
|
149
|
cat <<EOF > "$rootdir/usr/bin/test_nodejs_install"
|