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@landless-city.net>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eric Joldasov
2025-02-04 21:53:00 +05:00
committed by Sam James
parent 9cbe02e307
commit 32f75feb93

View File

@@ -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
}