#!/bin/bash

if [ "$1" = "remove" ]; then
	mv -f /etc/texmf/texmf.d/94alml.cnf /etc/texmf/texmf.d/94alml.bak
	if [ -x /usr/sbin/update-texmf ] ; then /usr/sbin/update-texmf -v ; fi
elif [ "$1" = "purge" ]; then
	rm -f /etc/texmf/texmf.d/94alml.bak /etc/texmf/texmf.d/94Alml
fi

/usr/sbin/update-fmtutil
/usr/sbin/update-catalog --remove --super /etc/sgml/alml.cat
/usr/sbin/update-catalog --remove /etc/sgml/alml.cat /usr/share/sgml/alml/alml.cat


#DEBHELPER#
