Permalink
Browse files

No need to clean cache as often, makes search slow

  • Loading branch information...
1 parent 6c17f28 commit c7ec9b5059715e4b12dda3c265b71f9d6d6bec8f @isaacs isaacs committed Jul 26, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 Makefile
  2. +3 −3 scripts/install.sh
View
@@ -29,9 +29,9 @@ link: uninstall
node cli.js link -f
clean: uninstall
+ node cli.js cache clean
uninstall: submodules
- node cli.js cache clean
node cli.js rm npm -g -f --loglevel error
man: man1
View
@@ -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" \

0 comments on commit c7ec9b5

Please sign in to comment.