summaryrefslogtreecommitdiff
path: root/office/texlive-fonts/doinst.sh
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2016-07-20 04:58:52 -0500
committerRobby Workman <rworkman@slackbuilds.org>2016-07-20 14:20:25 -0500
commitd288e54fa651d05e176f636f4b1092a5b5bd6c09 (patch)
treeb798be76c41b16f12789c303f909c9ba6f468cfc /office/texlive-fonts/doinst.sh
parentd87975d35f11b0cc95d09b62f3b012271e346fb3 (diff)
downloadslackbuilds-d288e54fa651d05e176f636f4b1092a5b5bd6c09.tar.gz
office/texlive-fonts: Added (extra fonts for TeXLive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texlive-fonts/doinst.sh')
-rw-r--r--office/texlive-fonts/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/office/texlive-fonts/doinst.sh b/office/texlive-fonts/doinst.sh
new file mode 100644
index 0000000000..c48abd6559
--- /dev/null
+++ b/office/texlive-fonts/doinst.sh
@@ -0,0 +1,5 @@
+[ -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