mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
rsync: add version check override
Add version check override script. Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user