From 0350d77ec03f9ab82356009c63842c9255b1c46d Mon Sep 17 00:00:00 2001 From: Alessandro Maggi Date: Sun, 23 Jun 2024 17:53:44 +0200 Subject: [PATCH] fix(spoolman): typo --- scripts/spoolman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/spoolman.sh b/scripts/spoolman.sh index e6ac8d4..70a45b4 100644 --- a/scripts/spoolman.sh +++ b/scripts/spoolman.sh @@ -84,7 +84,7 @@ function update_moonraker_configs() { moonraker_configs=$(find "${HOME}" -maxdepth 3 -type f -regextype posix-extended -regex "${regex}" | sort) for conf in ${moonraker_configs}; do - if ! grep -Eq "^\[update_manager KlipperScreen\]\s*$" "${conf}"; then + if ! grep -Eq "^\[update_manager Spoolman\]\s*$" "${conf}"; then ### add new line to conf if it doesn't end with one [[ $(tail -c1 "${conf}" | wc -l) -eq 0 ]] && echo "" >> "${conf}" /bin/sh -c "cat >> ${conf}" << MOONRAKER_CONF