1 2 3 4 5 6 7 8 9 10 11 12
#!/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