Adding a newline before the source string in the ".bash_profile"
Resolved Issue #197
This commit is contained in:
parent
1088b4b00f
commit
9c7da6cec3
|
|
@ -43,6 +43,7 @@ fi
|
||||||
|
|
||||||
if ! grep -qc 'nvm.sh' $PROFILE; then
|
if ! grep -qc 'nvm.sh' $PROFILE; then
|
||||||
echo "=> Appending source string to $PROFILE"
|
echo "=> Appending source string to $PROFILE"
|
||||||
|
echo -e "\n" >> "$PROFILE"
|
||||||
echo $SOURCE_STR >> "$PROFILE"
|
echo $SOURCE_STR >> "$PROFILE"
|
||||||
else
|
else
|
||||||
echo "=> Source string already in $PROFILE"
|
echo "=> Source string already in $PROFILE"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue