Bladeren bron

Missing npm package

Bob Mottram 7 jaren geleden
bovenliggende
commit
f07024be33
3 gewijzigde bestanden met toevoegingen van 3 en 6 verwijderingen
  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 Bestand weergeven

@@ -199,8 +199,7 @@ function mesh_install_ipfs_js {
199 199
         return
200 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 203
     chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
205 204
 
206 205
     if [ ! -f ${rootdir}/usr/bin/nodejs ]; then

+ 1
- 2
src/freedombone-image-customise Bestand weergeven

@@ -1199,8 +1199,7 @@ function image_install_nodejs {
1199 1199
         return
1200 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 1204
     if [ ! -f $rootdir/usr/bin/nodejs ]; then
1206 1205
         echo $'nodejs was not installed'

+ 1
- 2
src/freedombone-utils-nodejs Bestand weergeven

@@ -44,8 +44,7 @@ NPM_VERSION='4.0.5'
44 44
 NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
45 45
 
46 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 49
     if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
51 50
         echo $'nodejs was not installed'