From c4e9e4dfc3e74062c2eef26e5abf0b46fdc3f10b Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 10 Jul 2026 14:01:04 +0200 Subject: [PATCH] Point guard-lib at the consolidated utils monorepo guard-lib was folded into github.com/kuhyx/utils as a subdirectory; update the install.sh detection/install path from $HOME/guard-lib to $HOME/utils/guard-lib to match. Co-Authored-By: Claude Sonnet 5 --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 7b37715..7ee703a 100755 --- a/install.sh +++ b/install.sh @@ -18,17 +18,17 @@ echo echo "Checking for guard-lib (required by 'block-gaming')..." if command -v guardctl >/dev/null 2>&1; then echo "guardctl found on PATH." -elif [[ -x "$HOME/guard-lib/install.sh" ]]; then - echo "guardctl not found - installing guard-lib from $HOME/guard-lib..." +elif [[ -x "$HOME/utils/guard-lib/install.sh" ]]; then + echo "guardctl not found - installing guard-lib from $HOME/utils/guard-lib..." if [[ $EUID -eq 0 ]]; then - bash "$HOME/guard-lib/install.sh" + bash "$HOME/utils/guard-lib/install.sh" else - echo "guard-lib install needs root: sudo bash \"$HOME/guard-lib/install.sh\"" + echo "guard-lib install needs root: sudo bash \"$HOME/utils/guard-lib/install.sh\"" echo "('block-gaming' will not work until that is done; the rest of this tool is unaffected.)" fi else - echo "Warning: guardctl not found and ~/guard-lib is not present." - echo "'block-gaming' requires guard-lib - set up ~/guard-lib and run its install.sh, then re-run this installer." + echo "Warning: guardctl not found and ~/utils/guard-lib is not present." + echo "'block-gaming' requires guard-lib - set up ~/utils/guard-lib and run its install.sh, then re-run this installer." echo "(The rest of this tool is unaffected.)" fi