Install socks

This commit is contained in:
Bob Mottram 2018-04-12 20:59:10 +01:00
parent 0a8147e8c3
commit c4b952a45e
1 changed files with 6 additions and 3 deletions

View File

@ -405,15 +405,18 @@ function mesh_install_scuttlebot {
if [ -d ~/.npm/_cacache ]; then if [ -d ~/.npm/_cacache ]; then
rm -rf ~/.npm/_cacache rm -rf ~/.npm/_cacache
fi 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 exit 1
fi fi
if ! npm install --arch=$NPM_ARCH -g git-ssb; then if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then
exit 2 exit 2
fi fi
if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then if ! npm install --arch=$NPM_ARCH -g git-ssb; then
exit 3 exit 3
fi fi
if ! npm install --arch=$NPM_ARCH -g git-remote-ssb; then
exit 4
fi
EOF EOF
chroot "$rootdir" /bin/chmod +x /usr/bin/install_scuttlebot chroot "$rootdir" /bin/chmod +x /usr/bin/install_scuttlebot
chroot "$rootdir" /usr/bin/install_scuttlebot chroot "$rootdir" /usr/bin/install_scuttlebot