Sfoglia il codice sorgente

Additional node copy

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

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

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"