summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-03-18 14:51:01 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-03-19 15:05:45 +0100
commitac21aa95b7ba7dcca5bd4751cc884645d01916b6 (patch)
treeeb28926ca9440555f64bf368727747dea025b51d
parentfeatures/wd40: mask app-emulation/virt-firmware (diff)
downloadgentoo-ac21aa95b7ba7dcca5bd4751cc884645d01916b6.tar.gz
gentoo-ac21aa95b7ba7dcca5bd4751cc884645d01916b6.tar.bz2
gentoo-ac21aa95b7ba7dcca5bd4751cc884645d01916b6.zip
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@gentoo.org>
-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 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