From e58eef0651ff6a2f9bde2f7c20c47d73e421b17f Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 12 Sep 2017 16:04:12 +0100
Subject: [PATCH] Search for node

---
 src/freedombone-image-customise | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index 28746f331..a2838cf77 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -562,9 +562,11 @@ INSTALL_DIR=$HOME/build
 INSTALLING_MESH=
 
 install_patchwork() {
-    chroot "$rootdir" apt-get -yq install g++ m4 libtool automake nodejs
+    chroot "$rootdir" apt-get -yq install g++ m4 libtool automake nodejs curl
     chroot "$rootdir" apt-get -yq install libxext-dev libxtst-dev libxkbfile-dev
 
+    chroot "$rootdir" which node
+    chroot "$rootdir" which nodejs
     wget https://www.npmjs.com/install.sh -O $rootdir/root/npm_install.sh
     if [ ! -f $rootdir/root/npm_install.sh ]; then
         echo $'Unable to download npm installer'
-- 
GitLab