blob: 6b5730f03186975fb26a389dd78857837e8d97e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
duperemove)
# btrfs-extent-same has no --version/--help, so it cannot use the
# generic per-executable version check; override it here and
# verify the two binaries that do report a version.
duperemove --version 2>&1 | grep -F "$PKG_VERSION" || exit 1
hashstats --version 2>&1 | grep -F "$PKG_VERSION" || exit 1
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
|