libcap-ng: fix version check override
authorGeorge Sapkin <redacted>
Sat, 16 May 2026 15:32:28 +0000 (18:32 +0300)
committerGeorge Sapkin <redacted>
Sun, 17 May 2026 11:35:31 +0000 (14:35 +0300)
Fixes: 12b01bad ("libcap-ng-bin: add test-version.sh to skip version check")
Signed-off-by: George Sapkin <redacted>
libs/libcap-ng/test-version.sh

index c63b25c8aa4f4f73d913c0f07f2a84d98d2c56bd..58eff107865c2e755e58bc110863c65ed5184657 100755 (executable)
@@ -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
git clone https://git.99rst.org/PROJECT