mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
7986015662
Add version check override script. Signed-off-by: George Sapkin <george@sapk.in>
20 lines
203 B
Bash
Executable File
20 lines
203 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
case "$PKG_NAME" in
|
|
rrsync|\
|
|
rsyncd)
|
|
exit 0
|
|
;;
|
|
|
|
rsync)
|
|
rsync --version | grep -F "$PKG_VERSION"
|
|
;;
|
|
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|