• Re: [gentoo-dev] [PATCH 2/2] texlive-module.eclass: add texlive-module_

    From Ulrich Mueller@21:1/5 to All on Sat Apr 6 09:50:33 2024
    On Tue, 02 Apr 2024, Florian Schmaus wrote:

    + # If we are updating this package, then there is no need to update
    + # the tlpdb in postrm, as it will be again updated in postinst.
    + [[ -n ${REPLACING_VERSIONS} && ${EBUILD_PHASE} == postrm ]] && return

    Sorry for having missed this before. REPLACING_VERSIONS isn't defined
    in pkg_postrm, so the test should be for REPLACED_BY_VERSION.

    Also it would be cleaner to test for the phase first, to make sure that
    the variable is valid in this phase:

    [[ ${EBUILD_PHASE} == postrm && -n ${REPLACED_BY_VERSION} ]] && return

    Ulrich

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmYMHNMPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uXLwIAMjONwUAMd0u3xwiKzcBK8TVCPAs0SHb3D2A ngv1K+mneUKFhQLgn9KhPbB0D+zIxXWvSNs/ZvCzXQjg9dqwqSeymOqUH/ixeIbp BwT/JuE3MpSZwZov7B0L6tUAkTQbns5Pt+hDWtM3qf2jslzR8H0KjIiuDKZrPQ7+ lRA9TexEFm2gy0YfEv9mB4dxs1I+WFjwTVnrh2ym0IU/1blREpepjgY/ouCjR3JY SrFnwQm2nI2pom1Ep99Db3EsUwHK+9K3NA22QYWxHKPDz2JISdr2p4OKmzTvRQgV cSKsB71AMH5289gb7IUR1GT3nbdz/wxXGcb1tJW/tqoldUzYdF8=
    =H44J
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)