mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-10 20:27:03 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
95bd0b93bd
commit
c4e9e4dfc3
12
install.sh
12
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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user