Browse Source

Missing npm package

Bob Mottram 7 years ago
parent
commit
f07024be33
3 changed files with 3 additions and 6 deletions
  1. 1
    2
      src/freedombone-app-ipfs
  2. 1
    2
      src/freedombone-image-customise
  3. 1
    2
      src/freedombone-utils-nodejs

+ 1
- 2
src/freedombone-app-ipfs View File

199
         return
199
         return
200
     fi
200
     fi
201
 
201
 
202
-    chroot ${rootdir} apt-get -yq install nodejs
203
-    chroot ${rootdir} apt-get -yq install npm curl
202
+    chroot ${rootdir} apt-get -yq install nodejs curl
204
     chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
203
     chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
205
 
204
 
206
     if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
205
     if [ ! -f ${rootdir}/usr/bin/nodejs ]; then

+ 1
- 2
src/freedombone-image-customise View File

1199
         return
1199
         return
1200
     fi
1200
     fi
1201
 
1201
 
1202
-    chroot "$rootdir" apt-get -yq install nodejs
1203
-    chroot "$rootdir" apt-get -yq install npm curl
1202
+    chroot "$rootdir" apt-get -yq install nodejs curl
1204
 
1203
 
1205
     if [ ! -f $rootdir/usr/bin/nodejs ]; then
1204
     if [ ! -f $rootdir/usr/bin/nodejs ]; then
1206
         echo $'nodejs was not installed'
1205
         echo $'nodejs was not installed'

+ 1
- 2
src/freedombone-utils-nodejs View File

44
 NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
44
 NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
45
 
45
 
46
 function mesh_install_nodejs {
46
 function mesh_install_nodejs {
47
-    chroot "${rootdir}" apt-get -yq install nodejs
48
-    chroot "${rootdir}" apt-get -yq install npm curl
47
+    chroot "${rootdir}" apt-get -yq install nodejs curl
49
 
48
 
50
     if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
49
     if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
51
         echo $'nodejs was not installed'
50
         echo $'nodejs was not installed'