commit:     40d8b1156d94b469d2ffc00d2f5c6f0ce628bec3
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 17:45:41 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 30 17:45:41 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=40d8b115

texlive-module.eclass: use ebegin and eend

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

 eclass/texlive-module.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 1ed039d..b02b2b8 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -531,10 +531,12 @@ texlive-module_src_install() {
                                grep_expressions+=(-e "/${f//./\\.}$")
                        done
 
+                       ebegin "Installing man pages"
                        find texmf-dist/doc/man -type f -name '*.[0-9n]' -print 
|
                                grep -v "${grep_expressions[@]}" |
                                xargs -d '\n' --no-run-if-empty doman
-                       assert "error installing man pages"
+                       nonfatal assert -n
+                       eend $? || die "error installing man pages"
 
                        # Delete all man pages under texmf-dist/doc/man
                        find texmf-dist/doc/man -type f -name '*.[0-9n]' 
-delete ||

Reply via email to