From b13d4316271729988df3c0b9545a6ea23c854a82 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Apr 2018 19:48:56 +0100 Subject: [PATCH] Scuttlebot version --- src/freedombone-app-scuttlebot | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index 035ad683..6e1ea432 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -35,7 +35,7 @@ SHOW_ICANN_ADDRESS_ON_ABOUT=0 SCUTTLEBOT_DOMAIN_NAME= SCUTTLEBOT_CODE= -SCUTTLEBOT_VERSION='10.4.6' +SCUTTLEBOT_VERSION='11.2.0' SCUTTLEBOT_PORT=8010 SCUTTLEBOT_ONION_PORT=8623 GIT_SSB_PORT=7718 @@ -382,9 +382,15 @@ function mesh_install_scuttlebot { cat < "$rootdir/usr/bin/install_scuttlebot" #!/bin/bash -npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION} -npm install --arch=$NPM_ARCH -g git-ssb -npm install --arch=$NPM_ARCH -g git-remote-ssb +if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then + exit 1 +fi +if ! npm install --arch=$NPM_ARCH -g git-ssb; then + exit 2 +fi +if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then + exit 3 +fi EOF chroot "$rootdir" /bin/chmod +x /usr/bin/install_scuttlebot chroot "$rootdir" /usr/bin/install_scuttlebot