Remove cacache
This commit is contained in:
parent
96e5e1f85d
commit
0a8147e8c3
|
@ -402,6 +402,9 @@ 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 scuttlebot@${SCUTTLEBOT_VERSION}; then
|
if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue