mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-11 09:09:07 +00:00
Fix newline issue in install.sh
This commit is contained in:
@@ -43,7 +43,7 @@ fi
|
||||
|
||||
if ! grep -qc 'nvm.sh' $PROFILE; then
|
||||
echo "=> Appending source string to $PROFILE"
|
||||
echo "\n" >> "$PROFILE"
|
||||
echo "" >> "$PROFILE"
|
||||
echo $SOURCE_STR >> "$PROFILE"
|
||||
else
|
||||
echo "=> Source string already in $PROFILE"
|
||||
|
Reference in New Issue
Block a user