Skip to content

Commit c85edb6

Browse files
author
dotland
committed
Update install script
1 parent b649a77 commit c85edb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linux/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function add_keymap() {
9393
local bak_file=$(get_backup_file "${bak_subdir}" "${keymap_file}")
9494
cp "${keymap_file}" "${bak_file}"
9595

96-
{ echo "// ${section_start}"; cat "./keymap"; echo "// ${section_end}"; } >> "${keymap_file}"
96+
{ echo "// ${section_start}"; cat "./keymap"; printf "// ${section_end}\n\n"; } >> "${keymap_file}"
9797

9898
if [ $? -eq 0 ]; then
9999
any_change=1
@@ -123,7 +123,7 @@ function add_compose() {
123123
local bak_file=$(get_backup_file "${bak_subdir}" "${compose_file}")
124124
cp "${compose_file}" "${bak_file}"
125125

126-
{ echo "# ${section_start}"; cat "./Compose"; echo "# ${section_end}"; } >> "${compose_file}"
126+
{ echo "# ${section_start}"; cat "./Compose"; printf "# ${section_end}\n\n"; } >> "${compose_file}"
127127

128128
if [ $? -eq 0 ]; then
129129
any_change=1

0 commit comments

Comments
 (0)