#!/bin/sh
set -e
# Automatically added by dh_installtex/1
##
## postinst-tex
##
## postinst snippets for everything TeX related
## simply call update-texmf-config triggers
##
## Authors:
##       Norbert Preining <preining@logic.at>
##
#

case "$1" in
    configure|abort-upgrade|abort-remove|abort-deconfigure)
        update-texmf-config 
    ;;
esac

# End automatically added section

# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
	py3compile -p asymptote:amd64 /usr/share/asymptote
fi
if command -v pypy3compile >/dev/null 2>&1; then
	pypy3compile -p asymptote:amd64 /usr/share/asymptote || true
fi

# End automatically added section
