commit: ac21aa95b7ba7dcca5bd4751cc884645d01916b6
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 13:51:01 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 14:05:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac21aa95
texlive-common.eclass: etexmf-update to call 'die' for non-"dev-telive"
This also makes etexmf-update fail for packages that are outside
dev-texlive/* and don't use the TexLive version scheme like
dev-libs/kpathsea and soon dev-tex/hevea.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
eclass/texlive-common.eclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 1e5c8a53d5cc..e8a740df1f27 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -179,7 +179,8 @@ etexmf-update() {
if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/sbin/texmf-update ]] ;
then
"${EPREFIX}"/usr/sbin/texmf-update
local res="${?}"
- if [[ "${res}" -ne 0 ]] && ver_test -ge 2023; then
+ if [[ "${res}" -ne 0 ]] &&
+ { [[ ${CATEGORY} != dev-texlive ]] ||
ver_test -ge 2023; } then
die -n "texmf-update returned non-zero exit
status ${res}"
fi
else