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