summaryrefslogtreecommitdiffstats
path: root/utils/domoticz/test-version.sh
blob: 5a6c34d3e73b395c9f3ae038695f4e3f317c4e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# shellcheck shell=busybox

case "$1" in
	domoticz)
		# domoticz has no flag that prints its version; just verify the
		# binary is present
		[ -x /usr/bin/domoticz ] || exit 1
		;;

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