#!/bin/bash -e
# More or less borrowed from latex2html.postinst...

set -e

PACKAGE=revtex

case "$1" in
    configure)
        # continue below
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        exit 0;
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2;
        exit 0;
    ;;
esac

# the former shall exist if teTeX does, if the ls-R file does not
# exist, then possibly teTeX is being installed too, and will run
# texhash

if [ -e /usr/share/texmf/ls-R ]; then
    mktexlsr
fi

#DEBHELPER#
