diff options
author | isaacs <i@izs.me> | 2011-05-01 02:40:55 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-05-01 02:40:55 +0400 |
commit | 6bbf91494f378d648bdedc922af824b3d529eb62 (patch) | |
tree | dbdb0590e236cc1dd945952d99dd0db63a89818b /scripts | |
parent | ec35e195161b63c316dd9c612490b4be847b5a7f (diff) |
Also support clean=no
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index c18cb641e..ebf070eb5 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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 |