summaryrefslogtreecommitdiff
path: root/libre/texlive-core/texlive.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-15 16:19:53 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:04 -0300
commit79c0846bed0c90167853e2327c0d51a95d903342 (patch)
tree5160df8a24b92c26c6d262788ca3084caa49e2f8 /libre/texlive-core/texlive.install
parent400202f380cd8966cf38659016bf74ef6f1bcc25 (diff)
downloadabslibre-79c0846bed0c90167853e2327c0d51a95d903342.tar.gz
abslibre-79c0846bed0c90167853e2327c0d51a95d903342.tar.bz2
abslibre-79c0846bed0c90167853e2327c0d51a95d903342.zip
texlive-core-2015.37554-1.parabola1: updating version
Diffstat (limited to 'libre/texlive-core/texlive.install')
-rw-r--r--libre/texlive-core/texlive.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/texlive-core/texlive.install b/libre/texlive-core/texlive.install
index 77d4213be..3b5e32a57 100644
--- a/libre/texlive-core/texlive.install
+++ b/libre/texlive-core/texlive.install
@@ -16,6 +16,12 @@ post_install() {
[ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
echo ">>> texlive: updating the filename database..."
usr/bin/mktexlsr
+ (cd etc/texmf && ../../bin/mtxrun --generate >/dev/null)
+ # We need to remove directory "." from luatex cache to avoid absurd
+ # behaviour.
+ for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
+ grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc"
+ done
echo ">>> texlive: updating the fontmap files with updmap..."
usr/bin/updmap-sys --quiet --nohash
echo " done."
@@ -38,6 +44,12 @@ post_upgrade() {
[ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
echo ">>> texlive: updating the filename database..."
usr/bin/mktexlsr
+ (cd usr/share/texmf-dist && ../../bin/mtxrun --generate >/dev/null)
+ # We need to remove directory "." from luatex cache to avoid absurd
+ # behaviour.
+ for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
+ grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc"
+ done
echo ">>> texlive: updating the fontmap files with updmap..."
usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
echo " done."