Skip to content

Commit 0255d47

Browse files
authored
Update install.sh
1 parent 2dcb315 commit 0255d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ install_update_manager() {
170170
# Add the configuration to moonraker.conf
171171
echo "" >> "${dest}" # Add a blank line
172172
echo "" >> "${dest}" # Add a blank line
173-
echo -e "[update_manager KTC\]" >> "${dest}" # Add the section header
173+
echo -e "[update_manager KTC]" >> "${dest}" # Add the section header
174174
echo -e "type: git_repo" >> "${dest}"
175175
echo -e "path: ${REPO_DIR}" >> "${dest}"
176176
echo -e "origin: https://github.com/TypQxQ/KTC.git" >> "${dest}"
@@ -217,7 +217,7 @@ install_klipper_config() {
217217
fi
218218

219219
# Add the inclusion of macros to printer.cfg if it doesn't exist
220-
already_included=$(grep -c "[include ktc/base/*.cfg]" ${dest} || true)
220+
already_included=$(grep -c "\[include ktc/base/*.cfg\]" ${dest} || true)
221221
if [ "${already_included}" -eq 0 ]; then
222222
echo "" >> "${dest}" # Add a blank line
223223
echo -e "[include ktc/base/*.cfg]" >> "${dest}" # Add the section header

0 commit comments

Comments
 (0)