Fix newline issue in install.sh
parent
93e84a2676
commit
dc46a740a3
|
@ -43,7 +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 "\n" >> "$PROFILE"
|
echo "" >> "$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