libcap-ng: fix version check override

Fixes: 12b01bad ("libcap-ng-bin: add test-version.sh to skip version check")
Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
George Sapkin
2026-05-16 18:32:28 +03:00
parent ea17cb3fef
commit 2e592c483d
+11 -2
View File
@@ -1,5 +1,14 @@
#!/bin/sh
# shellckeck shell=busybox
case "$1" in
captest|filecap|netcap|pscap) exit 0 ;;
*) echo "Untested package: $1" >&2; exit 1 ;;
libcap-ng|\
libcap-ng-bin)
exit 0
;;
*)
echo "Untested package: $1" >&2
exit 1
;;
esac