diff options
author | 2024-05-14 10:21:41 +0200 | |
---|---|---|
committer | 2024-05-14 10:21:41 +0200 | |
commit | c08a374e11c8659a65337fdcd9323a97c09ed5fe (patch) | |
tree | fb9c415aecadf5b56d2530966daed3df83d6d01a | |
parent | texlive-module.eclass: sync with ::gentoo (diff) | |
download | tex-overlay-c08a374e11c8659a65337fdcd9323a97c09ed5fe.tar.gz tex-overlay-c08a374e11c8659a65337fdcd9323a97c09ed5fe.tar.bz2 tex-overlay-c08a374e11c8659a65337fdcd9323a97c09ed5fe.zip |
texlive-common.eclass: sync with ::gentoo
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-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 15d4757..072581d 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" |