Skip to content
Snippets Groups Projects
Commit bae10a65 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[install] Add an extra new line character

so that it doesn't corrupt file that doesn't end with a new line
character. Close #311.
parent c4cf90a3
No related branches found
No related tags found
No related merge requests found
......@@ -250,6 +250,7 @@ append_line() {
if [ -n "$line" ]; then
echo " - Already exists: line #$line"
else
echo >> "$2"
echo "$1" >> "$2"
echo " + Added"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment