diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs index b3b9cbf9..2c8cdc6b 100755 --- a/src/freedombone-utils-nodejs +++ b/src/freedombone-utils-nodejs @@ -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