summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-02-29 14:33:06 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-03-01 11:05:29 +0100
commit1fd32559fcd0521fdb0854ec1d780329e471db89 (patch)
treeec5725a40e857ffe02d5d05d2ff9976257e1ee69 /eclass
parenttexlive-common.eclass: check exit status of texmf-update (diff)
downloadgentoo-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.eclass3
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"