#include "variables"
#!/bin/bash -e
#
# config configuration file for Debian <:=$PACKAGE:> package.
# $Id: config.in,v 1.6 2002/09/01 15:08:40 salve Exp $
#
<:=@COPYRIGHT:>//

set -o posix

source <:=$CONFMODULE:>
db_version 2.0

case "$1" in
    (configure|reconfigure)
	if egrep "\brequire[[:space:]]+[^)]*'mailcrypt-init\b" \
	    <:=$SSEL:> &>/dev/null; then
	    db_set <:=$PACKAGE:>/default false || true
	    db_text low <:=$PACKAGE:>/alreadydefault || true
	else
	    db_input medium <:=$PACKAGE:>/default || true
	fi
	db_go || true
    ;;
    (*)
	echo "${0##*/}: Called with unknown argument \`$1'." >&2
    ;;
esac

exit 0
<:
# local variables:
# mode: shell-script
# end:
:>//
