summaryrefslogtreecommitdiff
path: root/libre/texlive-bin/texlive-updmap.script
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-06 03:00:27 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-06 03:00:27 -0300
commitaaf0573d5ee85c5a83f74f17659a192bfe1f5455 (patch)
tree1ddc12b16301c92f5b3ec6fc8fd3509407130c79 /libre/texlive-bin/texlive-updmap.script
parent97baef09944acb124ca7ddc5fb40a609b6c1a49f (diff)
texlive-bin-2016.41290-4.parabola1: updating version
* poppler 0.46.0 rebuild * define pacman hooks for mktexlsr and updmap
Diffstat (limited to 'libre/texlive-bin/texlive-updmap.script')
-rw-r--r--libre/texlive-bin/texlive-updmap.script17
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/texlive-bin/texlive-updmap.script b/libre/texlive-bin/texlive-updmap.script
new file mode 100644
index 000000000..88be8e460
--- /dev/null
+++ b/libre/texlive-bin/texlive-updmap.script
@@ -0,0 +1,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."
+