From 0a8147e8c3c95614d8f7ac5b2c9cba09f21b8af8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Apr 2018 20:41:03 +0100 Subject: [PATCH] Remove cacache --- src/freedombone-app-scuttlebot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index d3ddddbb..c0902470 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -402,6 +402,9 @@ function mesh_install_scuttlebot { cat < "$rootdir/usr/bin/install_scuttlebot" #!/bin/bash +if [ -d ~/.npm/_cacache ]; then + rm -rf ~/.npm/_cacache +fi if ! npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}; then exit 1 fi