#!/bin/sh

# source debconf library
. /usr/share/debconf/confmodule

FONTNAME=ttf-xtt-REAL_FONT_NAME
DEFOMA_HINTS_FILE=/etc/defoma/hints/$FONTNAME.hints

case "$1" in
    configure)
    /usr/bin/defoma-font -vt reregister-all $DEFOMA_HINTS_FILE
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac

#DEBHELPER#
