From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06A221382C5 for ; Mon, 19 Mar 2018 18:46:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E52DE08DC; Mon, 19 Mar 2018 18:46:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9976E08DC for ; Mon, 19 Mar 2018 18:46:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D69EA335C79 for ; Mon, 19 Mar 2018 18:46:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D82B276 for ; Mon, 19 Mar 2018 18:46:17 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1521485167.4ecb6fb2b5a9012f44c6727509de2a3e77930fb7.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/baselayout/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/baselayout/baselayout-9999.ebuild X-VCS-Directories: sys-apps/baselayout/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 4ecb6fb2b5a9012f44c6727509de2a3e77930fb7 X-VCS-Branch: master Date: Mon, 19 Mar 2018 18:46:17 +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-Archives-Salt: 12268cf6-4a4a-48b4-8c8b-45ff7f49b110 X-Archives-Hash: cbb45af687562544b326f1bb278e27ad commit: 4ecb6fb2b5a9012f44c6727509de2a3e77930fb7 Author: William Hubbs gentoo org> AuthorDate: Mon Mar 19 18:45:38 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Mar 19 18:46:07 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecb6fb2 sys-apps/baselayout: live ebuild: add warning about path change Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-apps/baselayout/baselayout-9999.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild index 20a7143a742..6bd0c0d4f70 100644 --- a/sys-apps/baselayout/baselayout-9999.ebuild +++ b/sys-apps/baselayout/baselayout-9999.ebuild @@ -245,10 +245,14 @@ pkg_postinst() { fi for x in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 2.4 ${v}; then + if ! version_is_at_least 2.4 ${x}; then ewarn "After updating ${EROOT}etc/profile, please run" - ewarn "env-update and . /etc/profile" - break + ewarn "env-update && . /etc/profile" + fi + + if ! version_is_at_least 2.5 ${x}; then + ewarn "Please run env-update then log out and back in to" + ewarn "update your path." fi done