Copy node to local
This commit is contained in:
parent
9881291951
commit
9fdac92c9b
|
@ -102,6 +102,10 @@ function mesh_install_nodejs {
|
|||
cp "$rootdir/usr/bin/nodejs" "$rootdir/usr/bin/node"
|
||||
fi
|
||||
|
||||
if [ -f "$rootdir/usr/bin/node" ]; then
|
||||
cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
|
||||
fi
|
||||
|
||||
if [ ! -f "${rootdir}/usr/bin/node" ]; then
|
||||
if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
|
||||
if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then
|
||||
|
|
Loading…
Reference in New Issue