commit:     26829570ca8dd60c2d518a2ddb69a63506b4de6f
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 09:29:50 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 09:30:11 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=26829570

app-text/texlive-core: add note about not using 'die'

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

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
 

Reply via email to