summaryrefslogtreecommitdiff
path: root/office/texlive-fonts/doinst.sh
diff options
context:
space:
mode:
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