mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 09:56:47 +04:00
rpcbind: add version check override
Skip version checks as none of the executables seem to report their
versions.
Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 7720266e35)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
1 parent
402070fef3
commit
9ef896926e
1 file changed
+16
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellcheck shell=busybox
|
||||
|
||||
case "$PKG_NAME" in
|
||||
rpcbind)
|
||||
# The -v flag is implemented in version 1.2.8+
|
||||
# rpcbind -v 2>&1 | grep -F "$PKG_VERSION"
|
||||
exit 0
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Untested package: $PKG_NAME" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user