freebsd-ports/russian/pscyr/pkg-deinstall
Dmitry Sivachenko 78653f2e06 New port: russian/pscyr.
Collection of files providing support for Cyrillic
PostScript Fonts in TeX documents.

PR:		28535
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-07-02 09:04:28 +00:00

13 lines
257 B
Bash

#!/bin/sh
# either $PKG_PREFIX or $3 should be set
PREFIX=${PKG_PREFIX:-$3}
case $2 in
POST-DEINSTALL)
perl -i -pe 's/pscyr\.map\n//m' ${PREFIX}/share/texmf/dvips/config/updmap
(cd ${PREFIX}/share/texmf/dvips/config/; sh updmap)
mktexlsr
;;
esac