#! /bin/sh

set -e

if dpkg --compare-versions "$2" le 6.0.3-3.2; then
	if [ -x "which defoma-font 2>/dev/null" ]; then
		defoma-font purge-all /etc/defoma/hints/gsfonts-other.hints
	fi
fi

if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/gsfonts-other.hints 6.0-3.2 -- "$@"
fi
