commit:     19e9754e5ce7a52dccaa0db0b07eb57bd76306e2
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 11:12:02 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 11:12:02 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=19e9754e

app-text/texlive-core: add 'die' when invoking "fmtutil-sys -all"

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

 app-text/texlive-core/texlive-core-2023.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild 
b/app-text/texlive-core/texlive-core-2023.ebuild
index 644f9e4..86b92a6 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -743,7 +743,7 @@ pkg_postinst() {
        etexmf-update
 
        einfo "Regenerating TeX formats"
-       fmtutil-sys --all &> /dev/null
+       fmtutil-sys --all &> /dev/null || die "Failed to regenerate TeX formats"
 
        elog
        elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"

Reply via email to