Bob Mottram преди 8 години
родител
ревизия
f07024be33
променени са 3 файла, в които са добавени 3 реда и са изтрити 6 реда
  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 Целия файл

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 Целия файл

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 Целия файл

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'