2 UPDMAP="etc/texmf/web2c/updmap.cfg"
3 UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
4 MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
8 echo ">>> texlive: saving updmap.cfg as $TMPFILE..."
9 cp "$UPDMAP" "$TMPFILE"
10 echo ">>> texlive: regenerating updmap.cfg (custom additions shoud go"
11 echo " into /etc/texmf/web2c/updmap-local.cfg"
12 cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP
13 cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
14 [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
15 echo ">>> texlive: updating the filename database..."
17 echo ">>> texlive: updating the fontmap files with updmap..."
18 usr/bin/updmap-sys --quiet --nohash
25 for m in `cut -d' ' -f2 $MAPFILE`; do
26 sed -i "/\s$m/d" $UPDMAP ;
30 echo ">>> texlive: updating the filename database..."
32 echo ">>> texlive: updating the fontmap files with updmap..."
33 usr/bin/updmap-sys --quiet --nohash