PKGBUILDs/extra/texlive-bin/texlive-updmap.script

14 lines
314 B
Text
Raw Normal View History

2016-08-05 13:02:06 +00:00
#!/bin/bash
UPDMAP="etc/texmf/web2c/updmap.cfg"
UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
if [[ -f "$UPDMAPLOCAL" ]]; then
cat "$UPDMAPLOCAL" >> $UPDMAP
fi
/usr/bin/updmap-sys --quiet --nohash