From f07024be33c37c87222f300c44ac4418b1b3e574 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 29 May 2017 17:12:14 +0100 Subject: [PATCH] Missing npm package --- src/freedombone-app-ipfs | 3 +-- src/freedombone-image-customise | 3 +-- src/freedombone-utils-nodejs | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/freedombone-app-ipfs b/src/freedombone-app-ipfs index 80a6551a..ca718213 100755 --- a/src/freedombone-app-ipfs +++ b/src/freedombone-app-ipfs @@ -199,8 +199,7 @@ function mesh_install_ipfs_js { return fi - chroot ${rootdir} apt-get -yq install nodejs - chroot ${rootdir} apt-get -yq install npm curl + chroot ${rootdir} apt-get -yq install nodejs curl chroot ${rootdir} apt-get -yq install libpam0g-dev fuse if [ ! -f ${rootdir}/usr/bin/nodejs ]; then diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 258db7a7..8b4282de 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -1199,8 +1199,7 @@ function image_install_nodejs { return fi - chroot "$rootdir" apt-get -yq install nodejs - chroot "$rootdir" apt-get -yq install npm curl + chroot "$rootdir" apt-get -yq install nodejs curl if [ ! -f $rootdir/usr/bin/nodejs ]; then echo $'nodejs was not installed' diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs index caafb3a1..b780869b 100755 --- a/src/freedombone-utils-nodejs +++ b/src/freedombone-utils-nodejs @@ -44,8 +44,7 @@ NPM_VERSION='4.0.5' NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps function mesh_install_nodejs { - chroot "${rootdir}" apt-get -yq install nodejs - chroot "${rootdir}" apt-get -yq install npm curl + chroot "${rootdir}" apt-get -yq install nodejs curl if [ ! -f ${rootdir}/usr/bin/nodejs ]; then echo $'nodejs was not installed'