Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-02-23 05:04:24 +0300
committerisaacs <i@izs.me>2011-02-23 05:04:24 +0300
commitd7d8662bf1860c655c6cc2324e3daa13efdfdf98 (patch)
treebd9bfa36e3c01ff0a4c8087f6229015da6a73c8d /scripts
parent0c03b68597a7b03609c06c95a84546e43aa7dc8a (diff)
Closes GH-609 `make install` installs current, not latest
`make latest` to do the old behavior.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 2f60bc4e5..627292239 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -85,8 +85,10 @@ cd "$TMP" \
exit $ret
fi) \
&& (if ! [ "$make" = "NOMAKE" ]; then
- $make uninstall dev
+ $make clean install
else
+ $node cli.js cache clean
+ $node cli.js rm npm -f
$node cli.js install .
fi) \
&& cd "$BACK" \