commit: 3881a1f02aa916ef44631fd009a39a399bfbf434
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 9 05:15:46 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 05:15:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3881a1f0
sys-apps/nawk: drop obsolete eselect-awk code
We have app-alternatives/awk these days and eselect-awk is long-gone.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/nawk/nawk-20230909-r1.ebuild | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/sys-apps/nawk/nawk-20230909-r1.ebuild
b/sys-apps/nawk/nawk-20230909-r1.ebuild
index dc19738c3228..6906d17a0a74 100644
--- a/sys-apps/nawk/nawk-20230909-r1.ebuild
+++ b/sys-apps/nawk/nawk-20230909-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,17 +45,3 @@ src_install() {
doman "${PN}.1"
einstalldocs
}
-
-pkg_postinst() {
- if has_version app-admin/eselect && has_version app-eselect/eselect-awk
- then
- eselect awk update ifunset
- fi
-}
-
-pkg_postrm() {
- if has_version app-admin/eselect && has_version app-eselect/eselect-awk
- then
- eselect awk update ifunset
- fi
-}