diff options
Diffstat (limited to 'libre/texlive-bin/texlive-updmap.script')
-rw-r--r-- | libre/texlive-bin/texlive-updmap.script | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/texlive-bin/texlive-updmap.script b/libre/texlive-bin/texlive-updmap.script new file mode 100644 index 000000000..88be8e460 --- /dev/null +++ b/libre/texlive-bin/texlive-updmap.script @@ -0,0 +1,17 @@ +#!/bin/bash + +UPDMAP="etc/texmf/web2c/updmap.cfg" +UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg" + +echo ">>> texlive: regenerating updmap.cfg (custom additions should go" +echo " into /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 + +echo ">>> texlive: updating the fontmap files with updmap..." +/usr/bin/updmap-sys --quiet --nohash +echo " done." + |