#!/bin/sh

PACKAGE=linuxdoc-tools

set -e

case "$1" in
  purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	if [ "$1" = remove ]; then
		if [ -x /usr/bin/texhash ]; then
			/usr/bin/texhash
		fi
	fi
  ;;
  *)
    echo "postrm called with unknown argument \`$1'" >&2
    exit 0
  ;;
esac

exit 0

