mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 06:41:50 +00:00
parent
9e389eb9fe
commit
6e894520ec
@ -240,7 +240,7 @@ nvm_do_install() {
|
|||||||
printf "$SOURCE_STR"
|
printf "$SOURCE_STR"
|
||||||
echo
|
echo
|
||||||
else
|
else
|
||||||
if ! grep -qc 'nvm.sh' "$NVM_PROFILE"; then
|
if ! command 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
|
||||||
|
Loading…
Reference in New Issue
Block a user