Commit Graph

59 Commits

Author SHA1 Message Date
isaacs
02d4322cd4 Follow redirects on curl|sh installer script
Closes #4673
2014-02-15 12:01:09 -08:00
Alex Rodionov
0ccb333281 #3759: do not install npm on node <= v0.5 2013-11-12 07:41:38 -08:00
isaacs
237b95328e Fix #2850 Use https url for npmjs.org in docs etc. 2012-10-03 21:55:49 -07:00
isaacs
d85c06fc15 Switch npm install based on node version 2012-01-02 09:53:59 -08:00
isaacs
48ee0f64c8 Scripts should be 0755 2011-12-02 11:04:48 -08:00
isaacs
e51477e18d Fix #1694 Test for directory-ness rather than -e
shell scripting is hard.
2011-11-10 11:27:23 -08:00
isaacs
cd4cd51745 Use npm_config_tar in install script 2011-11-03 08:03:01 -07:00
isaacs
d65cd8a447 Print tar --version even if explicitly set 2011-10-31 08:25:20 -07:00
isaacs
3675caaa87 Close #1622 Fix incorrect check for -o tar arg 2011-10-28 09:16:03 -07:00
isaacs
c12817f633 Handle seds that don't support -e 2011-10-21 15:31:44 -07:00
isaacs
4b51fd8d53 Fail faster in cases like #1566 2011-10-18 12:12:06 -07:00
isaacs
3603372b4a Add Stephen to AUTHORS 2011-10-17 12:42:53 -07:00
isaacs
d753758a8d Some seds are simpletons 2011-10-12 10:10:13 -07:00
isaacs
87d3689caa Building docs is too tedious to do on installation 2011-10-03 15:21:19 -07:00
isaacs
e5f2e9b7da Remove the cacert before trying to cd into the folder 2011-09-30 17:07:10 -07:00
isaacs
e74abdedc5 cacert takes a file, not a string 2011-09-30 17:03:54 -07:00
isaacs
d965a82a47 install.sh: Use tar -z, since npm does anyway 2011-09-30 16:33:11 -07:00
isaacs
dfa3c0f992 Re #1448 add some output around tar that it's using 2011-09-23 09:24:11 -07:00
isaacs
5815abb4af Use cacert in install script 2011-09-20 10:27:46 -07:00
isaacs
bfd2d59b16 Use sed instead of egrep 2011-09-16 19:56:29 -07:00
isaacs
b313d863fa Sniff for the MAKE env properly 2011-09-09 20:21:29 -07:00
isaacs
b67d8774b2 Portability to non-bourne posix sh 2011-09-08 11:49:33 -07:00
isaacs
94df8f36b0 Support npm_debug env in install script 2011-07-27 09:23:24 -07:00
isaacs
c7ec9b5059 No need to clean cache as often, makes search slow 2011-07-26 15:14:56 -07:00
Iain Sproat
fc9b4f037a Installer: Added quotation marks
so that node.js paths with whitespace can be supported
2011-06-21 11:45:13 -07:00
isaacs
f2bf53bdc2 Support for Linux. 2011-05-01 11:55:23 -07:00
isaacs
6bbf91494f Also support clean=no 2011-04-30 15:40:55 -07:00
isaacs
1cdc0cbb4a Ask for permission before cleaning old cruft 2011-04-30 15:28:52 -07:00
isaacs
7f6728c19c Clean up 0.x if installing 1.0 2011-04-30 13:20:33 -07:00
Chris Wong
8e113f8dc4 install.sh uses curl -L to go through proxy server with 302 redirect 2011-04-06 18:09:05 -07:00
isaacs
364dfc628c Clobber in Makefile 2011-04-04 11:29:16 -07:00
isaacs
dd478c0b50 Also try the nomake style if make fails 2011-04-04 11:20:58 -07:00
Pete Kruckenberg
3c063ebd4f Check new and old locations for semver 2011-04-04 00:51:40 -07:00
isaacs
008a98e3b8 Proper install technique when make is not found 2011-04-03 22:27:16 -07:00
isaacs
e4034d1469 Allow setting the version to install with the curl script 2011-03-21 15:56:49 -07:00
isaacs
c484c0efb1 Explicitly pipe through gzip
Using tar -z doesn't work, and sniffing for gtar also is
breakage-inspiring.
2011-02-25 11:04:22 -08:00
isaacs
869de96397 Don't use gtar. Just causing problems. 2011-02-23 12:57:45 -08:00
isaacs
d7d8662bf1 Closes GH-609 make install installs current, not latest
`make latest` to do the old behavior.
2011-02-22 18:04:24 -08:00
isaacs
2a00ad4256 Remove sudo from the install.sh.Let users do this if they need to. 2011-02-20 12:22:13 -08:00
isaacs
24ad0af2ee I know how npm works, I swear. 2011-02-16 21:12:13 -08:00
isaacs
987a129146 Use sudo in installation if necessary 2011-02-16 21:05:51 -08:00
isaacs
005715fc25 Use semver bin from node_modules 2011-02-11 17:01:31 -08:00
isaacs
e206a4c35f typo 2011-01-28 16:19:22 -08:00
isaacs
a3bc730303 Add tar=gtar config if found in installation 2011-01-28 14:08:36 -08:00
isaacs
67f20b1943 Don't check node version before downloading npm.
Duh.  Can't believe this has been unfixed for so long.
2011-01-28 14:08:29 -08:00
isaacs
2aa9747b47 Use the package.json data in the installation
So to verify the version of node in use.  Note that this install.sh
can't be deployed until AFTER this node is published.
2011-01-08 23:57:11 -08:00
Kai Chen
9b395ed180 detect node version in install script
isaacs: Edited to work on Solaris, and add TODO to do this in a cleaner
and more future-proof way that doesn't rely on changing the install.sh
when the requilrment changes.
2011-01-07 13:10:13 -08:00
isaacs
87d2343a77 Don't depend on make, but DO depend on node 2011-01-04 13:06:03 -08:00
isaacs
ee393f89a9 Portability.
God DAMN I hate writing sh.  Bash is SO much nicer.
2010-12-21 11:08:36 -08:00
isaacs
88fa4e07e7 I can't read. 2010-12-03 12:58:04 -08:00