summaryrefslogtreecommitdiff
path: root/libre/texlive-bin/texlive-updmap.script
blob: 88be8e460adb291dec600f11fd982a2defa60b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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."