. /usr/share/debconf/confmodule
SCRIPT="update-default-wordlist"

if [ "$1" = "configure" ] ; then
    if command -v $SCRIPT >/dev/null; then
	$SCRIPT  --rebuild
    else
	echo "Error: $SCRIPT not present or executable. Missing dependency on dictionaries-common?" >&2
	exit 1
    fi
fi
