Tidying
This commit is contained in:
parent
c4b952a45e
commit
b3f4ebe2ae
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue