#!/bin/sh
set -e

if dpkg-maintscript-helper supports rm_conffile; then
    dpkg-maintscript-helper rm_conffile \
      /etc/emacs21/site-start.d/90ibulgarian.el 3.0-10 ibulgarian -- "$@"
fi

# Automatically added by installdeb-ispell/UNDECLARED
. /usr/share/debconf/confmodule
SCRIPT="update-default-ispell"

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


exit 0
