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 DE0DE158B20 for ; Mon, 03 Feb 2025 17:14:53 +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 C8BBE34300F for ; Mon, 03 Feb 2025 17:14:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C316C1103B6; Mon, 03 Feb 2025 17:14:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B723E1103B6 for ; Mon, 03 Feb 2025 17:14:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6269834300F for ; Mon, 03 Feb 2025 17:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED47D18F6 for ; Mon, 03 Feb 2025 17:14:50 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1738602829.6d05467f761b561650c83c3f89d14fcdb666fed4.floppym@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 6d05467f761b561650c83c3f89d14fcdb666fed4 X-VCS-Branch: master Date: Mon, 03 Feb 2025 17:14:50 +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: 71f5fdaa-56df-43bd-b629-113375aef7bd X-Archives-Hash: 9252eda09514cb219d8f38a5092fb42a commit: 6d05467f761b561650c83c3f89d14fcdb666fed4 Author: Jordan R Abrahams-Whitehead google com> AuthorDate: Tue Apr 4 21:36:08 2023 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Mon Feb 3 17:13:49 2025 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=6d05467f crossdev: allow --ex-pkg to install stable At present, --ex-pkg flags always install the [latest] version. However, sometimes one may want to install [stable] if required. Closes: https://bugs.gentoo.org/949254 Closes: https://github.com/gentoo/crossdev/pull/34 Signed-off-by: Jordan R Abrahams-Whitehead google.com> Signed-off-by: Adrian Ratiu collabora.com> Signed-off-by: Mike Gilbert gentoo.org> crossdev | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crossdev b/crossdev index 57c9bb0..ad1065c 100755 --- a/crossdev +++ b/crossdev @@ -1023,6 +1023,10 @@ case ${ACTION} in uninstall) uninstall; exit 0;; esac +for _ in "${XPKGS[@]}"; do + XVERS+=( "${DEFAULT_VER}" ) +done + BVER=${BVER:-${DEFAULT_VER}} GVER=${GVER:-${DEFAULT_VER}} KVER=${KVER:-${DEFAULT_VER}}