Permalink
Browse files

Also support clean=no

  • Loading branch information...
isaacs committed Apr 30, 2011
1 parent ec35e19 commit 6bbf91494f378d648bdedc922af824b3d529eb62
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/install.sh
View
@@ -120,7 +120,9 @@ cd "$TMP" \
ret=0
if [ $isnpm10 -eq 1 ] && [ -f "scripts/clean-old.sh" ]; then
- if ! [ "x$skipclean" = "x" ]; then
+ if ! [ "x$skipclean" = "x" ] \
+ || [ "x$clean" = "xno" ] \
+ || [ "x$clean" = "xn" ]; then
echo "Skipping 0.x cruft clean" >&2
ret=0
elif [ "x$clean" = "xy" ] || [ "x$clean" = "xyes" ]; then

0 comments on commit 6bbf914

Please sign in to comment.