diff options
Diffstat (limited to 'abs/extra/texlive-core/texlive-updmap.script')
-rw-r--r-- | abs/extra/texlive-core/texlive-updmap.script | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/texlive-core/texlive-updmap.script b/abs/extra/texlive-core/texlive-updmap.script new file mode 100644 index 0000000..9dd59f0 --- /dev/null +++ b/abs/extra/texlive-core/texlive-updmap.script @@ -0,0 +1,15 @@ +#!/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 + |