#!/bin/sh -e # # postrm maintainer script for the Debian autolatex-core package. # # summary of how this script can be called: # * remove # * purge # * upgrade # * failed-upgrade # * abort-install # * abort-install # * abort-upgrade # * disappear # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove) CONFIGFILE="`dirname $0`/autolatex-core.config" if [ -f "$CONFIGFILE" ] then if $CONFIGFILE "$1"; then true; else exit 1; fi else echo "ERROR(postrm): No DebConf configuration script found: $CONFIGFILE" >&2 exit 1 fi ;; *) ;; esac #DEBHELPER# exit 0