Explorar el Código

Additional node copy

Bob Mottram hace 7 años
padre
commit
df252acac5
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/freedombone-utils-nodejs

+ 3
- 0
src/freedombone-utils-nodejs Ver fichero

141
         cp "$rootdir/usr/local/bin/npm" /usr/bin/npm
141
         cp "$rootdir/usr/local/bin/npm" /usr/bin/npm
142
     fi
142
     fi
143
     cp "$rootdir/usr/bin/npm" "$rootdir/root/npm"
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
     # check the version numbers
148
     # check the version numbers
146
     cat <<EOF > "$rootdir/usr/bin/test_nodejs_install"
149
     cat <<EOF > "$rootdir/usr/bin/test_nodejs_install"