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