mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
selinux-python: add version check override
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>
This commit is contained in:
1 parent
0d7ca569eb
commit
17283f7e83
1 file changed
+28
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user