core/texlive-core/texlive-updmap.script

16 lines
399 B
Plaintext
Raw Normal View History

#!/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
# Run mktexlsr since /etc/texmf/web2c/updmap.cfg can be a new file
/usr/bin/mktexlsr
/usr/bin/updmap-sys --quiet --nohash