slackbuilds_ponce/office/texlive-fonts/doinst.sh
Johannes Schoepfer d288e54fa6 office/texlive-fonts: Added (extra fonts for TeXLive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2016-07-20 14:20:25 -05:00

5 lines
350 B
Bash

[ -f usr/share/texmf-config/web2c/updmap.cfg ] && rm usr/share/texmf-config/web2c/updmap.cfg
chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
printf "y\n" | chroot . /usr/bin/updmap-sys --nohash --syncwithtrees 1>/dev/null 2>/dev/null
chroot . /usr/bin/updmap-sys 1>/dev/null 2>/dev/null
chroot . /usr/bin/fmtutil-sys --all 1>/dev/null 2>/dev/null