This commit is contained in:
Bob Mottram 2018-04-12 21:17:37 +01:00
parent c4b952a45e
commit b3f4ebe2ae
1 changed files with 0 additions and 6 deletions

View File

@ -402,12 +402,6 @@ function mesh_install_scuttlebot {
cat <<EOF > "$rootdir/usr/bin/install_scuttlebot" cat <<EOF > "$rootdir/usr/bin/install_scuttlebot"
#!/bin/bash #!/bin/bash
if [ -d ~/.npm/_cacache ]; then
rm -rf ~/.npm/_cacache
fi
if ! npm install --arch=$NPM_ARCH -g socks@2.1.6; then
exit 1
fi
if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then
exit 2 exit 2
fi fi