summaryrefslogtreecommitdiffstats
path: root/russian/pscyr/pkg-install
blob: 7859f1d3ef184eb31a59e67a2375958ca766d2b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# either $PKG_PREFIX or $3 should be set
PREFIX=${PKG_PREFIX:-$3}

case $2 in
	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
OpenPOWER on IntegriCloud