#!/bin/sh# either $PKG_PREFIX or $3 should be set
PREFIX=${PKG_PREFIX:-$3}case$2in
POST-INSTALL)rm-f`kpsewhich -expand-var='$VARTEXFONTS'`/pk/modeless/public/pscyr/*
perl -i -pe's/^(extra_modules="$)/$1\npscyr.map/m'${PREFIX}/share/texmf/dvips/config/updmap
(cd${PREFIX}/share/texmf/dvips/config/; sh updmap)
mktexlsr
;;esac