From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABDE21582EF for ; Sun, 09 Feb 2025 05:18:56 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6FD293430E2 for ; Sun, 09 Feb 2025 05:18:56 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 805E9110472; Sun, 09 Feb 2025 05:18:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 69168110472 for ; Sun, 09 Feb 2025 05:18:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B7593430AA for ; Sun, 09 Feb 2025 05:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 878D8268D for ; Sun, 09 Feb 2025 05:18:49 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1739078109.4d6c697c399f1e323bbe29964a8b5660f393ab14.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gawk/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/gawk/gawk-5.3.1.ebuild X-VCS-Directories: sys-apps/gawk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4d6c697c399f1e323bbe29964a8b5660f393ab14 X-VCS-Branch: master Date: Sun, 09 Feb 2025 05:18:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f3975e8-c598-46f2-8d20-962d5ea2b347 X-Archives-Hash: f611c70bcfd519455e6052ddea92dc52 commit: 4d6c697c399f1e323bbe29964a8b5660f393ab14 Author: Sam James gentoo org> AuthorDate: Sun Feb 9 05:15:09 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 9 05:15:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6c697c sys-apps/gawk: drop obsolete eselect-awk code We have app-alternatives/awk these days and eselect-awk is long-gone. Signed-off-by: Sam James gentoo.org> sys-apps/gawk/gawk-5.3.1.ebuild | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/sys-apps/gawk/gawk-5.3.1.ebuild b/sys-apps/gawk/gawk-5.3.1.ebuild index 65e4aa1189b5..116a94925b2f 100644 --- a/sys-apps/gawk/gawk-5.3.1.ebuild +++ b/sys-apps/gawk/gawk-5.3.1.ebuild @@ -107,30 +107,3 @@ src_install() { doins *.h rm "${ED}"/usr/include/awk/config.h || die } - -pkg_postinst() { - # Symlink creation here as the links do not belong to gawk, but to any awk - if has_version app-admin/eselect && has_version app-eselect/eselect-awk ; then - eselect awk update ifunset - else - local l - for l in "${EROOT}"/usr/share/man/man1/gawk.1* "${EROOT}"/usr/bin/gawk ; do - if [[ -e ${l} ]] && ! [[ -e ${l/gawk/awk} ]] ; then - ln -s "${l##*/}" "${l/gawk/awk}" || die - fi - done - - if ! [[ -e ${EROOT}/bin/awk ]] ; then - # /bin might not exist yet (stage1) - [[ -d "${EROOT}/bin" ]] || mkdir "${EROOT}/bin" || die - - ln -s "../usr/bin/gawk" "${EROOT}/bin/awk" || die - fi - fi -} - -pkg_postrm() { - if has_version app-admin/eselect && has_version app-eselect/eselect-awk ; then - eselect awk update ifunset - fi -}