diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-02-29 18:46:10 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-02-29 18:46:10 +0100 |
commit | 5c53b0d8705844b07285212aba2de0be029c8064 (patch) | |
tree | 7d7354136b0f1849eda343aa1949698ee83e4a0f | |
parent | */*: drop --ignore-errors, use nonftal (diff) | |
download | tex-overlay-5c53b0d8705844b07285212aba2de0be029c8064.tar.gz tex-overlay-5c53b0d8705844b07285212aba2de0be029c8064.tar.bz2 tex-overlay-5c53b0d8705844b07285212aba2de0be029c8064.zip |
eclass: incorporate ML feedback
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r-- | eclass/texlive-common.eclass | 4 | ||||
-rw-r--r-- | eclass/texlive-module.eclass | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 85cdb8f..852f762 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -199,8 +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 -n "fmtutil-sys returned non-zero exit status ${res}" + "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null || + die -n "fmtutil-sys returned non-zero exit status ${res}" else ewarn "Cannot run fmtutil-sys for some reason." ewarn "Your formats might be inconsistent with your installed ${PN} version" diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index d1bf0f8..9fc4e61 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -86,7 +86,7 @@ HOMEPAGE="https://www.tug.org/texlive/" IUSE="doc source" if [[ -z ${TL_PV} ]] \ - && [[ ${EAPI} -ge 8 ]] \ + && [[ ${EAPI} != 7 ]] \ && [[ ${CATEGORY} == dev-texlive ]]; then TL_PV=$(ver_cut 1) fi |