|
@@ -405,15 +405,18 @@ function mesh_install_scuttlebot {
|
405
|
405
|
if [ -d ~/.npm/_cacache ]; then
|
406
|
406
|
rm -rf ~/.npm/_cacache
|
407
|
407
|
fi
|
408
|
|
-if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then
|
|
408
|
+if ! npm install --arch=$NPM_ARCH -g socks@2.1.6; then
|
409
|
409
|
exit 1
|
410
|
410
|
fi
|
411
|
|
-if ! npm install --arch=$NPM_ARCH -g git-ssb; then
|
|
411
|
+if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then
|
412
|
412
|
exit 2
|
413
|
413
|
fi
|
414
|
|
-if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then
|
|
414
|
+if ! npm install --arch=$NPM_ARCH -g git-ssb; then
|
415
|
415
|
exit 3
|
416
|
416
|
fi
|
|
417
|
+if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then
|
|
418
|
+ exit 4
|
|
419
|
+fi
|
417
|
420
|
EOF
|
418
|
421
|
chroot "$rootdir" /bin/chmod +x /usr/bin/install_scuttlebot
|
419
|
422
|
chroot "$rootdir" /usr/bin/install_scuttlebot
|