Skip to content

Commit

Permalink
Clarifying install messages, to help with #559 and #400 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 22, 2015
1 parent 2755227 commit 2d9494a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ nvm_download() {

install_nvm_from_git() {
if [ -d "$NVM_DIR/.git" ]; then
echo "=> nvm is already installed in $NVM_DIR, trying to update"
echo "=> nvm is already installed in $NVM_DIR, trying to update using git"
printf "\r=> "
cd "$NVM_DIR" && (command git fetch 2> /dev/null || {
echo >&2 "Failed to update nvm, run 'git fetch' in $NVM_DIR yourself." && exit 1
Expand All @@ -82,7 +82,7 @@ install_nvm_as_script() {
# Downloading to $NVM_DIR
mkdir -p "$NVM_DIR"
if [ -d "$NVM_DIR/nvm.sh" ]; then
echo "=> nvm is already installed in $NVM_DIR, trying to update"
echo "=> nvm is already installed in $NVM_DIR, trying to update the script"
else
echo "=> Downloading nvm as script to '$NVM_DIR'"
fi
Expand Down

0 comments on commit 2d9494a

Please sign in to comment.