Commit Graph

71 Commits (b962a590a2a1b50c336660d11abaa31f09f239d6)

Author SHA1 Message Date
Jordan Harband 64de890d07 v0.16.1 2014-09-14 22:24:18 -07:00
Jordan Harband d1b6332bbe v0.16.0 2014-09-11 00:58:09 -07:00
Jordan Harband a7108e98f2 Make .bashrc be checked first on install.
From #511. Closes #320. Closes #268. Closes #334. Fixes #497. Relates to
2014-09-04 00:54:50 -07:00
Adrian Perez Heredia 825cb46969 Updated error message for missing profile file 2014-09-03 15:07:28 +02:00
Adrian Perez Heredia ab56ec6675 This patch adds support for terminal emulators. Without this it wont work on gnome-terminal on Ubuntu 2014-09-03 15:07:27 +02:00
Jordan Harband 9d96e4a6bf v0.15.0 2014-09-03 00:08:53 -07:00
Jordan Harband f9769e40dd v0.14.0 2014-08-27 00:49:30 -07:00
Jordan Harband 708ac80a55 Properly replace the -I curl option for the --server-response wget option. 2014-08-15 20:47:55 -07:00
Jordan Harband eef12cc2b3 v0.13.1 2014-08-08 11:48:54 -07:00
Jordan Harband 61709c1f97 v0.13.0 2014-08-02 19:24:39 -07:00
Jordan Harband 1d37af162a v0.12.2 2014-07-29 00:35:27 -07:00
Jordan Harband 68574cc7e8 v0.12.1 2014-07-24 14:07:26 -07:00
Jordan Harband f5643dc7ea v0.12.0 2014-07-23 01:15:14 -07:00
Fabian Jakobs ad71389dcc master branch might not exist
After a fresh install I was unable to run the installer again. It was breaking with the error

error: branch 'master' not found.

my fix makes sure that the installer continues after that.
2014-07-23 10:08:58 +02:00
Jordan Harband 200a9aa97e v0.11.2 2014-07-20 23:58:19 -07:00
Koen Punt 9c2127ce33 string replacement turns out not POSIX compliant 2014-07-18 16:21:20 +02:00
Jordan Harband 7a423b7bb4 v0.11.1 2014-07-18 01:48:46 -07:00
Jordan Harband 55d892adc8 Fix #476 by making sure to cd into `$NVM_DIR` before checking out the tag. Also delete the master branch, because we won't be needing that. 2014-07-17 00:20:33 -07:00
Michał Gołębiowski 21fa84225c Hotfix: correctly map curl's `-C -` to wget
wget doesn't need or accept the `-` parameter to `-c`. This incorrect
mapping causes `nvm install` to fail on a curlless OS.
2014-07-16 11:00:56 +02:00
Jordan Harband 4895aebf0a v0.11.0 2014-07-15 10:52:30 -07:00
Jordan Harband 638ae5c6fa Hardcode latest version number into the install script.
Fixes #462.
2014-07-10 01:24:12 -07:00
Koen Punt 276c031c60 Finalize fix for #458 2014-07-08 14:49:24 +02:00
Jordan Harband 63f72b37df Followup per https://github.com/creationix/nvm/pull/452#issuecomment-48151847 2014-07-07 15:40:59 -07:00
Jordan Harband cf5bfecec4 Merge pull request #452 from creationix/curl_wget_handling
Better combo curl/wget handling
2014-07-07 15:03:31 -07:00
Jordan Harband e4ada9fa43 Revert part of the change from e0537ce3df, fixes #458 2014-07-07 14:22:49 -07:00
Koen Punt a0de15d0f7 fix nvm_curl arguments for stdout 2014-07-07 23:16:20 +02:00
Jordan Harband df4689fbd2 Removing an extra "echo" 2014-07-07 13:59:58 -07:00
Jordan Harband 018e47bec0 Make sure both wget and curl work. 2014-07-07 13:32:10 -07:00
Jordan Harband 74cc1eb022 Make `nvm_curl` do a runtime check if `curl` is available. 2014-07-07 13:32:10 -07:00
Jordan Harband eda8ffbcc4 Add some more curl → wget argument munging 2014-07-07 13:32:10 -07:00
Jordan Harband 25c0be1e20 Using an `nvm_curl` function instead of `curl`/`wget` directly. 2014-07-07 13:32:10 -07:00
Koen Punt ea198c9a19 add newline to printf 2014-07-07 14:43:02 +02:00
Jordan Harband e0537ce3df Shellcheck recommendations. 2014-07-05 13:48:23 -07:00
Jordan Harband cce5df35ba Naming `install.sh` functions more explicitly as being for `nvm`. 2014-07-05 13:44:00 -07:00
Jordan Harband 7e269961c3 In `install.sh`, rename `has` to `nvm_has` for consistency with `nvm.sh`. 2014-07-05 13:42:44 -07:00
Jordan Harband f214ffaf1f Oxford comma 2014-07-05 11:07:14 -07:00
Jordan Harband b6f1c156da Use printf instead of `echo -e`
Fixes #446
2014-06-26 10:26:57 -07:00
Koen Punt 16c0be8314 export NVM_DIR before sourcing nvm.sh 2014-05-28 14:32:01 +02:00
Bent Cardan 13b87449e8 github raw served from new subdomain 2014-04-26 03:48:06 -04:00
Koen Punt 5342b6a04c Emulate curl with wget 2014-03-26 11:14:09 +01:00
Koen Punt 2d0c025c49 Prevent fallback 2014-03-26 11:14:08 +01:00
Koen Punt 6ed93f4c01 Force install method by setting METHOD=git/script 2014-03-26 11:14:08 +01:00
Koen Punt 3c2719a85e fix 2014-03-26 11:14:08 +01:00
Koen Punt c47f03f996 Display error when unable to update 2014-03-26 11:11:26 +01:00
Koen Punt 300022642a git, curl and wget now all in one installer 2014-03-25 20:53:05 +01:00
Koen Punt 7211c9ee29 updated output without special characters (tab; \t)
Omit duplicate 'finish line'
normalized indentation
2014-03-25 20:51:39 +01:00
Koen Punt 246caa8581 Updated source string, use hard path as NVM is not always installed in `$HOME/.nvm` 2014-03-25 20:51:39 +01:00
Koen Punt 1fac49f887 replaced undocumented option for specifying the profile as first argument to specifying it as a environment variable (eg: PROFILE=~/.myprofile ./install-gitless.sh)
also; fixed indentation and added .zshrc as possible profile
2014-03-25 20:51:39 +01:00
Koen Punt d2422a623a made NVM_DIR and NVM_SOURCE configurable using environment variables 2014-03-25 20:51:39 +01:00
Koen Punt 0787a55999 replaced fatalExit function for 'inline' exit
exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
2014-03-25 20:51:39 +01:00