commit: 9cbe02e307e7f552415f5bc8ab19dfcd2aecad6e Author: Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net> AuthorDate: Tue Feb 4 16:51:58 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 16 16:28:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cbe02e3
dev-lang/zig: do not die on `eselect` in `pkg_postrm` Per PMS: > Ebuilds are allowed to call them in pkg_preinst and pkg_postinst. > Ebuilds may also call them in pkg_prerm and pkg_postrm but must not > rely on them being available. Bug: https://bugs.gentoo.org/949225 Signed-off-by: Eric Joldasov <bratishkaerik <AT> landless-city.net> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/zig/zig-0.13.0-r2.ebuild | 2 +- dev-lang/zig/zig-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lang/zig/zig-0.13.0-r2.ebuild b/dev-lang/zig/zig-0.13.0-r2.ebuild index d8fa77b14495..a17a501b392e 100644 --- a/dev-lang/zig/zig-0.13.0-r2.ebuild +++ b/dev-lang/zig/zig-0.13.0-r2.ebuild @@ -271,5 +271,5 @@ pkg_postinst() { } pkg_postrm() { - eselect zig update ifunset || die + eselect zig update ifunset } diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index bf7387685f3c..8fb29ab10b9e 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -344,5 +344,5 @@ pkg_postinst() { } pkg_postrm() { - eselect zig update ifunset || die + eselect zig update ifunset }
