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'