#!/bin/sh

set -e

if [ "$1" = remove ] ; then
  command -v texhash > /dev/null 2>&1 && \
   texhash /usr/share/texmf || true
fi

if [ "$1" = purge ] ; then
  if command -v update-texmf > /dev/null 2>&1 ; then
    update-texmf
  fi
fi

#DEBHELPER#
