File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments