mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-25 16:53:36 +05:00
refact(spoolman): remove unused variable
This commit is contained in:
@@ -71,7 +71,7 @@ function remove_spoolman(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function update_moonraker_configs() {
|
function update_moonraker_configs() {
|
||||||
local patched moonraker_configs regex env_port
|
local moonraker_configs regex
|
||||||
regex="${HOME//\//\\/}\/([A-Za-z0-9_]+)\/config\/moonraker\.conf"
|
regex="${HOME//\//\\/}\/([A-Za-z0-9_]+)\/config\/moonraker\.conf"
|
||||||
moonraker_configs=$(find "${HOME}" -maxdepth 3 -type f -regextype posix-extended -regex "${regex}" | sort)
|
moonraker_configs=$(find "${HOME}" -maxdepth 3 -type f -regextype posix-extended -regex "${regex}" | sort)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user