Adding a newline before the source string in the ".bash_profile"

Resolved Issue #197
master
Artem 2013-02-27 11:50:08 +02:00
parent 1088b4b00f
commit 9c7da6cec3
1 changed files with 4 additions and 3 deletions

View File

@ -43,6 +43,7 @@ fi
if ! grep -qc 'nvm.sh' $PROFILE; then
echo "=> Appending source string to $PROFILE"
echo -e "\n" >> "$PROFILE"
echo $SOURCE_STR >> "$PROFILE"
else
echo "=> Source string already in $PROFILE"