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 94BF11582EF for ; Sun, 16 Feb 2025 17:26:35 +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 7436E341E1C for ; Sun, 16 Feb 2025 17:26:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6D16D1102CD; Sun, 16 Feb 2025 17:26:34 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 637611102CD for ; Sun, 16 Feb 2025 17:26:34 +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 1DD72341E1C for ; Sun, 16 Feb 2025 17:26:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80CD22637 for ; Sun, 16 Feb 2025 17:26:32 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1739726685.3642ed3997a16330dc1c861d354b7fb5f8941771.ionen@gentoo> Subject: [gentoo-commits] proj/eselect-wine:master commit in: / X-VCS-Repository: proj/eselect-wine X-VCS-Files: wine.eselect X-VCS-Directories: / X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 3642ed3997a16330dc1c861d354b7fb5f8941771 X-VCS-Branch: master Date: Sun, 16 Feb 2025 17:26:32 +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: 86a33f8f-261f-4c28-8f73-776e9e60a568 X-Archives-Hash: 81ce3d4114a666d5e6c7a37cf22bb8bd commit: 3642ed3997a16330dc1c861d354b7fb5f8941771 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Feb 16 17:18:38 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Feb 16 17:24:45 2025 +0000 URL: https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=3642ed39 wine.eselect: update postrm migration example The package manager spec (at least for current EAPI=8) does not guarantee that IDEPEND will be available in pre/postrm. Updating for what it's worth anyway, not overly important (aka not worth a release) given dying in "post"rm is not much of an issue compared to "pre"rm. The latter aborts removal, while the former is just noisy on failure. Odds are nobody is seeing this message anymore too unless trying to use very outdated broken ebuilds. Signed-off-by: Ionen Wolkens gentoo.org> wine.eselect | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wine.eselect b/wine.eselect index e8ce744..bb5d4c9 100644 --- a/wine.eselect +++ b/wine.eselect @@ -374,7 +374,9 @@ do_register() { eselect wine update --if-unset || die } pkg_postrm() { # /not/ prerm - eselect wine update --if-unset || die + if has_version -b app-eselect/eselect-wine; then + eselect wine update --if-unset || die + fi } ' >&2 }