浏览代码

Missing npm package

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'