From 32f75feb938e89b1b4c60e261576546ec1a1dbdc Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Tue, 4 Feb 2025 21:53:00 +0500 Subject: [PATCH] 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 Signed-off-by: Sam James --- 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 ba3a7c7bda359..3b8dd1ae891ad 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 }