commit:     32f75feb938e89b1b4c60e261576546ec1a1dbdc
Author:     Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net>
AuthorDate: Tue Feb  4 16:53:00 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=32f75feb

dev-lang/zig-bin: 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.

Closes: 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-bin/zig-bin-0.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/zig-bin/zig-bin-0.13.0.ebuild 
b/dev-lang/zig-bin/zig-bin-0.13.0.ebuild
index ba3a7c7bda35..3b8dd1ae891a 100644
--- a/dev-lang/zig-bin/zig-bin-0.13.0.ebuild
+++ b/dev-lang/zig-bin/zig-bin-0.13.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -85,5 +85,5 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       eselect zig update ifunset || die
+       eselect zig update ifunset
 }

Reply via email to