diff options
author | isaacs <i@izs.me> | 2011-07-27 02:14:56 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-07-27 02:14:56 +0400 |
commit | c7ec9b5059715e4b12dda3c265b71f9d6d6bec8f (patch) | |
tree | a60403cdf80b4a8da99058fad853f165c75260ee /scripts | |
parent | 6c17f28cc8dd32afdae1d5f1fbad0f66ed2180ee (diff) |
No need to clean cache as often, makes search slow
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 2b8eb3577..b534614cd 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -136,14 +136,14 @@ cd "$TMP" \ ret=$? fi fi + if [ $ret -ne 0 ]; then echo "Aborted 0.x cleanup. Exiting." >&2 exit $ret fi) \ && (if [ "$make" = "NOMAKE" ] || ! $make clean install; then - "$node" cli.js cache clean - "$node" cli.js rm npm --force --global - "$node" cli.js install . --force --global + "$node" cli.js rm npm -gf + "$node" cli.js install -gf fi) \ && cd "$BACK" \ && rm -rf "$TMP" \ |