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 0D389138334 for ; Tue, 11 Sep 2018 08:04:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6003CE0D41; Tue, 11 Sep 2018 08:04:07 +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 2C96DE0D41 for ; Tue, 11 Sep 2018 08:04:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6A67D335C08 for ; Tue, 11 Sep 2018 08:04:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3D1C3D1 for ; Tue, 11 Sep 2018 08:04:03 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1536653036.fe6520c33d86aa869cf6e42b769370d8218ff741.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/i3/i3-4.13-r1.ebuild x11-wm/i3/i3-4.14.1.ebuild x11-wm/i3/i3-4.14.ebuild x11-wm/i3/i3-4.15.ebuild x11-wm/i3/i3-9999.ebuild X-VCS-Directories: x11-wm/i3/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: fe6520c33d86aa869cf6e42b769370d8218ff741 X-VCS-Branch: master Date: Tue, 11 Sep 2018 08:04:03 +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: 39ccedb0-7a85-444e-aff4-1223e0d83776 X-Archives-Hash: a93d3b830ff355b774b8afe36ac1e8ae commit: fe6520c33d86aa869cf6e42b769370d8218ff741 Author: Francesco Turco fastmail fm> AuthorDate: Sun Aug 26 18:08:31 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Sep 11 08:03:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6520c3 x11-wm/i3: show elog message only on first installation Closes: https://github.com/gentoo/gentoo/pull/9703 x11-wm/i3/i3-4.13-r1.ebuild | 17 ++++++++++------- x11-wm/i3/i3-4.14.1.ebuild | 15 +++++++++------ x11-wm/i3/i3-4.14.ebuild | 17 ++++++++++------- x11-wm/i3/i3-4.15.ebuild | 15 +++++++++------ x11-wm/i3/i3-9999.ebuild | 18 +++++++++++------- 5 files changed, 49 insertions(+), 33 deletions(-) diff --git a/x11-wm/i3/i3-4.13-r1.ebuild b/x11-wm/i3/i3-4.13-r1.ebuild index acfef3313c8..2b809ac551d 100644 --- a/x11-wm/i3/i3-4.13-r1.ebuild +++ b/x11-wm/i3/i3-4.13-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -76,10 +76,13 @@ src_install() { } pkg_postinst() { - einfo "There are several packages that you may find useful with ${PN} and" - einfo "their usage is suggested by the upstream maintainers, namely:" - einfo " x11-misc/dmenu" - einfo " x11-misc/i3status" - einfo " x11-misc/i3lock" - einfo "Please refer to their description for additional info." + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "There are several packages that you may find useful with ${PN} and" + elog "their usage is suggested by the upstream maintainers, namely:" + elog " x11-misc/dmenu" + elog " x11-misc/i3status" + elog " x11-misc/i3lock" + elog "Please refer to their description for additional info." + fi } diff --git a/x11-wm/i3/i3-4.14.1.ebuild b/x11-wm/i3/i3-4.14.1.ebuild index 3c204ad407f..a10e0a5f9e4 100644 --- a/x11-wm/i3/i3-4.14.1.ebuild +++ b/x11-wm/i3/i3-4.14.1.ebuild @@ -102,10 +102,13 @@ my_src_install_all() { } pkg_postinst() { - einfo "There are several packages that you may find useful with ${PN} and" - einfo "their usage is suggested by the upstream maintainers, namely:" - einfo " x11-misc/dmenu" - einfo " x11-misc/i3status" - einfo " x11-misc/i3lock" - einfo "Please refer to their description for additional info." + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "There are several packages that you may find useful with ${PN} and" + elog "their usage is suggested by the upstream maintainers, namely:" + elog " x11-misc/dmenu" + elog " x11-misc/i3status" + elog " x11-misc/i3lock" + elog "Please refer to their description for additional info." + fi } diff --git a/x11-wm/i3/i3-4.14.ebuild b/x11-wm/i3/i3-4.14.ebuild index b98df36f927..26d946ec6f0 100644 --- a/x11-wm/i3/i3-4.14.ebuild +++ b/x11-wm/i3/i3-4.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -90,10 +90,13 @@ src_install() { } pkg_postinst() { - einfo "There are several packages that you may find useful with ${PN} and" - einfo "their usage is suggested by the upstream maintainers, namely:" - einfo " x11-misc/dmenu" - einfo " x11-misc/i3status" - einfo " x11-misc/i3lock" - einfo "Please refer to their description for additional info." + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "There are several packages that you may find useful with ${PN} and" + elog "their usage is suggested by the upstream maintainers, namely:" + elog " x11-misc/dmenu" + elog " x11-misc/i3status" + elog " x11-misc/i3lock" + elog "Please refer to their description for additional info." + fi } diff --git a/x11-wm/i3/i3-4.15.ebuild b/x11-wm/i3/i3-4.15.ebuild index df485534f2f..90f223b0d2c 100644 --- a/x11-wm/i3/i3-4.15.ebuild +++ b/x11-wm/i3/i3-4.15.ebuild @@ -102,10 +102,13 @@ my_src_install_all() { } pkg_postinst() { - einfo "There are several packages that you may find useful with ${PN} and" - einfo "their usage is suggested by the upstream maintainers, namely:" - einfo " x11-misc/dmenu" - einfo " x11-misc/i3status" - einfo " x11-misc/i3lock" - einfo "Please refer to their description for additional info." + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "There are several packages that you may find useful with ${PN} and" + elog "their usage is suggested by the upstream maintainers, namely:" + elog " x11-misc/dmenu" + elog " x11-misc/i3status" + elog " x11-misc/i3lock" + elog "Please refer to their description for additional info." + fi } diff --git a/x11-wm/i3/i3-9999.ebuild b/x11-wm/i3/i3-9999.ebuild index cd758177621..44462428862 100644 --- a/x11-wm/i3/i3-9999.ebuild +++ b/x11-wm/i3/i3-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -74,10 +74,14 @@ src_install() { } pkg_postinst() { - einfo "There are several packages that you may find useful with ${PN} and" - einfo "their usage is suggested by the upstream maintainers, namely:" - einfo " x11-misc/dmenu" - einfo " x11-misc/i3status" - einfo " x11-misc/i3lock" - einfo "Please refer to their description for additional info." + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "There are several packages that you may find useful with ${PN} and" + elog "their usage is suggested by the upstream maintainers, namely:" + elog " x11-misc/dmenu" + elog " x11-misc/i3status" + elog " x11-misc/i3lock" + elog "Please refer to their description for additional info." + fi }