commit:     067dab6059c794daae87c6f397459532af6f93fb
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 11:12:58 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 11:12:58 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=067dab60

texlive-common.eclass: add 'die' when invoking "texmf-update"

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/texlive-common.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index fab6ff6..eb012f2 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -177,7 +177,7 @@ dobin_texmf_scripts() {
 etexmf-update() {
        if has_version 'app-text/texlive-core' ; then
                if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; 
then
-                       "${EPREFIX}"/usr/sbin/texmf-update
+                       "${EPREFIX}"/usr/sbin/texmf-update || die
                else
                        ewarn "Cannot run texmf-update for some reason."
                        ewarn "Your texmf tree might be inconsistent with your 
configuration"

Reply via email to