From 2e592c483d93619691a748635326cb69b4aa08c0 Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Sat, 16 May 2026 18:32:28 +0300 Subject: [PATCH] libcap-ng: fix version check override Fixes: 12b01bad ("libcap-ng-bin: add test-version.sh to skip version check") Signed-off-by: George Sapkin --- libs/libcap-ng/test-version.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libs/libcap-ng/test-version.sh b/libs/libcap-ng/test-version.sh index c63b25c8aa..58eff10786 100755 --- a/libs/libcap-ng/test-version.sh +++ b/libs/libcap-ng/test-version.sh @@ -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