Bob Mottram 7 年之前
父節點
當前提交
b3f4ebe2ae
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0
    6
      src/freedombone-app-scuttlebot

+ 0
- 6
src/freedombone-app-scuttlebot 查看文件

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