Files
packages/net/rsync/test-version.sh
George Sapkin 7986015662 rsync: add version check override
Add version check override script.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-25 08:02:47 +03:00

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