diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-02-29 14:33:06 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-03-01 11:05:29 +0100 |
commit | 1fd32559fcd0521fdb0854ec1d780329e471db89 (patch) | |
tree | ec5725a40e857ffe02d5d05d2ff9976257e1ee69 /eclass | |
parent | texlive-common.eclass: check exit status of texmf-update (diff) | |
download | gentoo-1fd32559fcd0521fdb0854ec1d780329e471db89.tar.gz gentoo-1fd32559fcd0521fdb0854ec1d780329e471db89.tar.bz2 gentoo-1fd32559fcd0521fdb0854ec1d780329e471db89.zip |
texlive-common.eclass: Use nonfatal-respecting die for fmtutil-sys
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-common.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index f1933b1166f8..1e5c8a53d5cc 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -199,7 +199,8 @@ efmtutil-sys() { if has_version 'app-text/texlive-core' ; then if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/bin/fmtutil-sys ]] ; then einfo "Rebuilding formats" - "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null || die + "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null || + die -n "fmtutil-sys returned non-zero exit status ${?}" else ewarn "Cannot run fmtutil-sys for some reason." ewarn "Your formats might be inconsistent with your installed ${PN} version" |