summaryrefslogblamecommitdiff
path: root/russian/pscyr/pkg-deinstall
blob: 51efeec6cc840879a5c3b16ec8f47fb6b59c6d25 (plain) (tree)
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