diff --git a/net/rsync/test-version.sh b/net/rsync/test-version.sh new file mode 100755 index 0000000000..73a1115715 --- /dev/null +++ b/net/rsync/test-version.sh @@ -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