summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-02-12 10:29:50 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-02-12 10:30:11 +0100
commit26829570ca8dd60c2d518a2ddb69a63506b4de6f (patch)
tree46f413614a8c9947dd0401cf76e82471f87f8308
parentRevert "app-text/texlive-core: add 'die' when invoking "fmtutil-sys -all"" (diff)
downloadtex-overlay-26829570ca8dd60c2d518a2ddb69a63506b4de6f.tar.gz
tex-overlay-26829570ca8dd60c2d518a2ddb69a63506b4de6f.tar.bz2
tex-overlay-26829570ca8dd60c2d518a2ddb69a63506b4de6f.zip
app-text/texlive-core: add note about not using 'die'
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--app-text/texlive-core/texlive-core-2023.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 644f9e4..f09dc64 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -742,6 +742,10 @@ src_install() {
pkg_postinst() {
etexmf-update
+ # Note that the fmtutil-sys call has no "|| die" attached to it. We
+ # are here in pkg_postinst where invoking die is not sensible.
+ # TODO: Research the rationale of calling fmtutil-sys here and the
+ # reasons why it fails.
einfo "Regenerating TeX formats"
fmtutil-sys --all &> /dev/null