summaryrefslogtreecommitdiffstats
path: root/net/mdnsresponder/test-version.sh
blob: 9ea88b07db23d30f1d179b872d031d1b6ffb6ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
mdnsresponder)
	# Meta package, no executables
	exit 0
	;;

mdnsd|mdns-utils)
	# None of the shipped binaries print the package version on --help;
	# upstream just dumps usage. Skip the generic version probe.
	exit 0
	;;

*)
	echo "Untested package: $PKG_NAME" >&2
	exit 1
	;;
esac