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:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/installable.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/installable.sh b/scripts/installable.sh
deleted file mode 100644
index 1d5a90c29..000000000
--- a/scripts/installable.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-npmver=$(perl -E "say q{$npm_config_user_agent} =~ m{/(\S+)}")
-
-if semver -r ^3.0.0-0 $npmver > /dev/null; then
- echo "Packaging with $npmver"
-else
- echo "Packaging or installing npm@$npm_package_version with npm@$npmver is impossible." 1>&2
- echo "Please install npm@^3.0.0-0 from the registry and use that or run your command with" 1>&2
- echo "this version of npm with:" 1>&2
- npmargs=$(node -e "a=$npm_config_argv; console.log(a.original.join(' '))")
- echo " $npm_node_execpath $PWD $npmargs" 1>&2
- exit 1
-fi