diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-04-05 14:45:54 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-05-14 09:58:12 +0200 |
commit | 7d549d95818204c6d7a770d1c0de0fa0e6fcb5e8 (patch) | |
tree | 80a9c7f4b601d532330f3e92f70aca23aeb8e4c4 /eclass | |
parent | edo.eclass: enhance edob for usage with noisy commands (diff) | |
download | gentoo-7d549d95818204c6d7a770d1c0de0fa0e6fcb5e8.tar.gz gentoo-7d549d95818204c6d7a770d1c0de0fa0e6fcb5e8.tar.bz2 gentoo-7d549d95818204c6d7a770d1c0de0fa0e6fcb5e8.zip |
texlive-common.eclass: eftmutil-sys: use edob
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-common.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 15d475799a88..072581dde78e 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -22,6 +22,8 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +inherit edo + if [[ -z ${_TEXLIVE_COMMON_ECLASS} ]]; then _TEXLIVE_COMMON_ECLASS=1 @@ -199,9 +201,9 @@ etexmf-update() { 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 -n "fmtutil-sys returned non-zero exit status ${?}" + edob -m "Rebuilding TexLive formats" \ + -l fmtutils-sys-all \ + "${EPREFIX}"/usr/bin/fmtutil-sys --all else ewarn "Cannot run fmtutil-sys for some reason." ewarn "Your formats might be inconsistent with your installed ${PN} version" |