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>2010-12-06 09:12:31 +0300
committerisaacs <i@izs.me>2010-12-06 09:12:31 +0300
commitd521bd755bae2217d96fc078ed310578b1aecf87 (patch)
tree0a821854aa4f3e434af4103173c0ca40769e1db3 /scripts
parentd0b2a77846146e67a2da5bc128307fa2dd6c2a15 (diff)
a little message on package installation
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-message.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/install-message.sh b/scripts/install-message.sh
new file mode 100755
index 000000000..36754c625
--- /dev/null
+++ b/scripts/install-message.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if [ "x$npm_config_loglevel" = "xsilent" ]; then
+ exit
+fi
+
+cat <<MESSAGE
+
+Thanks for installing version $npm_package_version of npm.
+
+Last few items from the changelog:
+
+`tail -n 20 doc/changelog.md`
+
+MESSAGE