From: Alexandru Ardelean Date: Sat, 30 May 2026 18:12:17 +0000 (+0300) Subject: alsa-lib: add version check override X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c9f4980023fade0979d7d0ec4e391a8d543e6d45;p=openwrt-packages.git alsa-lib: add version check override alsa-lib ships only a shared library and aserver has no --version, so neither can satisfy the generic version probe. Add a test-version.sh that exits 0 for both arms and exits 1 for unknown subpackages. Signed-off-by: Alexandru Ardelean --- diff --git a/libs/alsa-lib/test-version.sh b/libs/alsa-lib/test-version.sh new file mode 100755 index 000000000..a3af52381 --- /dev/null +++ b/libs/alsa-lib/test-version.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# shellcheck shell=busybox + +case "$PKG_NAME" in +alsa-lib) + # Shared library + exit 0 + ;; + +aserver) + # aserver does not implement --version + exit 0 + ;; + +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac