v0.27.0 can't update rc file

This commit is contained in:
zhiyelee 2015-09-26 23:40:26 -05:00
parent 838d72688f
commit d437e2aad8
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ nvm_do_install() {
printf "$SOURCE_STR" printf "$SOURCE_STR"
echo echo
else else
if ! command grep -qc '/nvm.sh' "$NVM_PROFILE"; then if ! `grep -qc '/nvm.sh' "$NVM_PROFILE"`; then
echo "=> Appending source string to $NVM_PROFILE" echo "=> Appending source string to $NVM_PROFILE"
printf "$SOURCE_STR\n" >> "$NVM_PROFILE" printf "$SOURCE_STR\n" >> "$NVM_PROFILE"
else else