>>>>> On Wed, 04 May 2022, Florian Schmaus wrote:
 
> +     5|6) inherit eutils ;; # eutils for eqawarn

Adding eutils in 2022 seems a little backwards. Maybe make the output
command conditional instead? Something like this:

    # conditional needed in EAPIs 5 and 6
    local eqawarn=eqawarn
    declare -F eqawarn >/dev/null || eqawarn=ewarn
    ${eqawarn} ...

Alternatively, port the few remaining EAPI 5 and 6 consumers to a newer
EAPI. :)

Ulrich

Attachment: signature.asc
Description: PGP signature

Reply via email to