refactor!: update KIAUH for recent moonraker changes #245

Merged
dw-0 merged 38 commits from adapt-moonraker-changes into master 2022-10-20 11:20:34 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3b0983b4b9 - Show all commits

View File

@@ -422,7 +422,7 @@ function remove_klipper_env_file() {
}
function remove_klipper_logs() {
local files regex="\/home\/${USER}\/([A-Za-z0-9_]+)\/logs\/klippy\.log*"
local files regex="\/home\/${USER}\/([A-Za-z0-9_]+)\/logs\/klippy\.log.*"
files=$(find "${HOME}" -maxdepth 3 -regextype posix-extended -regex "${regex}" | sort)
if [[ -n ${files} ]]; then

View File

@@ -478,7 +478,7 @@ function remove_moonraker_env_file() {
}
function remove_moonraker_logs() {
local files regex="\/home\/${USER}\/([A-Za-z0-9_]+)\/logs\/moonraker\.log*"
local files regex="\/home\/${USER}\/([A-Za-z0-9_]+)\/logs\/moonraker\.log.*"
files=$(find "${HOME}" -maxdepth 3 -regextype posix-extended -regex "${regex}" | sort)
if [[ -n ${files} ]]; then