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

# shellcheck shell=busybox

case "$PKG_NAME" in
dovecot-pigeonhole)
	# The Sieve tools print only their usage. doveconf loads the
	# Pigeonhole settings plugin and prints its version.
	doveconf -n | grep -F "# Pigeonhole version $PKG_VERSION "
	;;

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