#!/bin/sh
. /usr/share/debconf/confmodule
[ -n "$(debconf-get espeakup/voice)" ] || exit 0
[ -n "$(debconf-get tasksel/desktop)" ] || debconf-set-selections /usr/share/espeakup-udeb/mate-preseed.cfg
db_get debian-installer/locale
/usr/lib/espeakup/espeakup.restart "$RET"
