added some text to the readme

This commit is contained in:
2025-05-21 03:39:28 +02:00
parent 30e2c0c4d3
commit 248e489822
3 changed files with 1 additions and 6 deletions

View File

@@ -4,7 +4,6 @@ ALHP_SCRIPT="/usr/local/bin/alhp-check.sh"
building_pkgs=()
if [[ $# -gt 0 ]]; then
# Check only specified packages (for install hook)
for pkg in "$@"; do
result=$($ALHP_SCRIPT --check-pkg "$pkg" -j)
if [[ "$result" != "[]" ]]; then
@@ -12,7 +11,6 @@ if [[ $# -gt 0 ]]; then
fi
done
else
# No args: full scan (for upgrade hook)
mapfile -t building_pkgs < <($ALHP_SCRIPT)
fi