From 02cede3f5df74db05ba5d44b6bf93bbe60042c0c Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 23 Sep 2025 14:00:48 -0400 Subject: [PATCH] tools.func: Check for /usr/local/bin in PATH during yq setup (#7856) - My Booklore update failed due to yq not being found despite installed --- misc/tools.func | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/tools.func b/misc/tools.func index 691f1937e..d389d9a5d 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -2021,6 +2021,8 @@ function setup_yq() { } fi + [[ ":$PATH:" != *":/usr/local/bin:"* ]] && echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc && source ~/.bashrc + if command -v yq &>/dev/null; then if ! yq --version 2>&1 | grep -q 'mikefarah'; then rm -f "$(command -v yq)"