v0.27.0 can't update rc file
This commit is contained in:
parent
838d72688f
commit
d437e2aad8
|
|
@ -240,7 +240,7 @@ nvm_do_install() {
|
|||
printf "$SOURCE_STR"
|
||||
echo
|
||||
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"
|
||||
printf "$SOURCE_STR\n" >> "$NVM_PROFILE"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue