blob: 106ee279f176d9240f74ba317daf9573fc09c1c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
prefix=/usr/local
sharedir=${prefix}/share
if [ -f ${sharedir}/texmf-dist/tex/latex/auto-greek/updmap.inc ]; then
grep -vf ${sharedir}/texmf-dist/tex/latex/auto-greek/updmap.inc ${sharedir}/texmf-config/web2c/updmap.cfg > ${sharedir}/texmf-config/web2c/updmap.cfg.swp
mv ${sharedir}/texmf-config/web2c/updmap.cfg.swp ${sharedir}/texmf-config/web2c/updmap.cfg
chmod 0444 ${sharedir}/texmf-config/web2c/updmap.cfg
mv ${sharedir}/texmf-dist/tex/generic/hyphen/hyphen.tex.old ${sharedir}/texmf-dist/tex/generic/hyphen/hyphen.tex
${prefix}/bin/texhash
${prefix}/bin/updmap-sys
${prefix}/bin/fmtutil-sys --byfmt latex
${prefix}/bin/fmtutil-sys --byfmt pdflatex
fi;
|