From c4b952a45ec53d6f5b356992ca7c7a743744399b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Apr 2018 20:59:10 +0100 Subject: [PATCH] Install socks --- src/freedombone-app-scuttlebot | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index c0902470..3659067c 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -405,15 +405,18 @@ function mesh_install_scuttlebot { if [ -d ~/.npm/_cacache ]; then rm -rf ~/.npm/_cacache fi -if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then +if ! npm install --arch=$NPM_ARCH -g socks@2.1.6; then exit 1 fi -if ! npm install --arch=$NPM_ARCH -g git-ssb; then +if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then exit 2 fi -if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then +if ! npm install --arch=$NPM_ARCH -g git-ssb; then exit 3 fi +if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then + exit 4 +fi EOF chroot "$rootdir" /bin/chmod +x /usr/bin/install_scuttlebot chroot "$rootdir" /usr/bin/install_scuttlebot