mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08: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>
This commit is contained in:
committed by
George Sapkin
parent
0de3e89ff8
commit
7720266e35
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