summaryrefslogtreecommitdiffstats
path: root/latex
diff options
context:
space:
mode:
authorIsmael Luceno2021-04-24 00:01:25 +0200
committerIsmael Luceno2021-04-24 00:05:27 +0200
commit08a9d1aae357a315cefbb02f49cbad767890f02b (patch)
tree6f3332acb731732fe3ec42c7fcdcfcf20e7c217c /latex
parent21de9c7bcc606c1237d636eec1ae92a7fb4e8618 (diff)
texlive: Move fontconfig cache update to FINAL
The update of caches is more appropriately done in FINAL. Additionally this workarounds errors stemming from a bug in castfs that prevents the updating of existing files when compiled against musl.
Diffstat (limited to 'latex')
-rwxr-xr-xlatex/texlive/FINAL2
-rw-r--r--latex/texlive/HISTORY3
-rwxr-xr-xlatex/texlive/INSTALL1
3 files changed, 5 insertions, 1 deletions
diff --git a/latex/texlive/FINAL b/latex/texlive/FINAL
index bc24d02c88..499c7b2426 100755
--- a/latex/texlive/FINAL
+++ b/latex/texlive/FINAL
@@ -1,3 +1,5 @@
+# Update fontconfig caches; done here because it doesn't play well with staging
+fc-cache -fsv
message "${MESSAGE_COLOR}Please note that the local additions to the texmf tree"
message "have been moved to /usr/local/share/texmf from"
message "/usr/share/texmf-local${DEFAULT_COLOR}"
diff --git a/latex/texlive/HISTORY b/latex/texlive/HISTORY
index 35387e0fa4..ea6b836285 100644
--- a/latex/texlive/HISTORY
+++ b/latex/texlive/HISTORY
@@ -1,3 +1,6 @@
+2021-04-23 Ismael Luceno <ismael@iodev.co.uk>
+ * FINAL, INSTALL: moved fontconfig cache update to FINAL
+
2020-08-21 Ismael Luceno <ismael@sourcemage.org>
* BUILD: Fixed build with binutils >= 2.35
* PRE_BUILD: Optimized data installation prefix patching
diff --git a/latex/texlive/INSTALL b/latex/texlive/INSTALL
index 897be0fc8c..a4cc0b2a87 100755
--- a/latex/texlive/INSTALL
+++ b/latex/texlive/INSTALL
@@ -39,7 +39,6 @@ ${INSTALL_ROOT}/usr/bin/fmtutil-sys --cnffile "$fmtutilcnf" --fmtdir ${INSTALL_R
mkdir -p "${INSTALL_ROOT}/etc/fonts/conf.avail" &&
install -Cv ${SPELL_DIRECTORY}/09-texlive-fonts.conf ${INSTALL_ROOT}/etc/fonts/conf.avail &&
ln -fs ${INSTALL_ROOT}/etc/fonts/conf.avail/09-texlive-fonts.conf ${INSTALL_ROOT}/etc/fonts/conf.d &&
-fc-cache -fsv &&
if is_depends_enabled $SPELL LUA; then
# update filename db & create formats for context