mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 14:37:29 +04:00
None of the selinux-python tools print the package version, so the generic version check fails for all of them. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
29 lines
472 B
Bash
Executable File
29 lines
472 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
# None of the selinux-python tools print the package version.
|
|
# Skip the generic version probe.
|
|
|
|
case "$PKG_NAME" in
|
|
python3-seobject|\
|
|
python3-seobject-src|\
|
|
python3-sepolgen|\
|
|
python3-sepolgen-src|\
|
|
python3-sepolicy|\
|
|
python3-sepolicy-src|\
|
|
selinux-audit2allow|\
|
|
selinux-chcat|\
|
|
selinux-python|\
|
|
selinux-semanage|\
|
|
selinux-sepolgen-ifgen|\
|
|
selinux-sepolicy)
|
|
exit 0
|
|
;;
|
|
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|