Sfoglia il codice sorgente

Copy node to local

Bob Mottram 7 anni fa
parent
commit
9fdac92c9b
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      src/freedombone-utils-nodejs

+ 4
- 0
src/freedombone-utils-nodejs Vedi File

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