Re: [gentoo-dev] [PATCH 3/3] texlive-module.eclass: include PIPESTATUS in die message

2024-05-20 Thread Ulrich Mueller
> On Mon, 20 May 2024, Florian Schmaus wrote: > - [[ "${PIPESTATUS[*]}" == "0 "[01]" 0" ]] > - eend $? || die "error installing man pages" > + [[ "${pipestatus}" == "0 "[01]" 0" ]] Quotes around ${pipestatus} are redundant. > +

[gentoo-dev] Last-rites: kde-apps/kio-extras-kf5

2024-05-20 Thread Andreas Sturmlechner
# Andreas Sturmlechner (2024-05-20) # Short-lived side-by-side release, now unnecessary as it moved back to # kde-apps/kio-extras:5. Removal on 2024-06-04. kde-apps/kio-extras-kf5 signature.asc Description: This is a digitally signed message part.

[gentoo-dev] [PATCH 3/3] texlive-module.eclass: include PIPESTATUS in die message

2024-05-20 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 7d40bfc58994..98c28f578216 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-modu

[gentoo-dev] [PATCH 2/3] texlive-module.eclass: invoke doman with nonfatal

2024-05-20 Thread Florian Schmaus
In case doman fails, we do not want to die immediatly as it would "break" the ebegin/eend combination. Instead, the exit status is passed through xargs. It will then subsequently appear in PIPESTATUS, where it is processed by eend || die. Signed-off-by: Florian Schmaus Suggested-by: Ulrich Müller

[gentoo-dev] [PATCH 1/3] texlive-module.eclass: do not treat grep returning 1 as error

2024-05-20 Thread Florian Schmaus
In case every man page of the dev-texlive/* package is filtered, because the man pages are already installed by texlive-core, grep returns an exit status of 1, which we must not treat as an error condition. Adjust the PIPESTATUS comparison accordingly. Closes: https://bugs.gentoo.org/931994 Signe