|
|
@@ -102,6 +102,10 @@ function mesh_install_nodejs {
|
|
102
|
102
|
cp "$rootdir/usr/bin/nodejs" "$rootdir/usr/bin/node"
|
|
103
|
103
|
fi
|
|
104
|
104
|
|
|
|
105
|
+ if [ -f "$rootdir/usr/bin/node" ]; then
|
|
|
106
|
+ cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
|
|
|
107
|
+ fi
|
|
|
108
|
+
|
|
105
|
109
|
if [ ! -f "${rootdir}/usr/bin/node" ]; then
|
|
106
|
110
|
if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
|
|
107
|
111
|
if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then
|