From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5905559CA9 for ; Wed, 30 Mar 2016 12:18:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8536A21C012; Wed, 30 Mar 2016 12:18:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E183021C013 for ; Wed, 30 Mar 2016 12:18:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B9FF340CAA for ; Wed, 30 Mar 2016 12:18:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7283B86C for ; Wed, 30 Mar 2016 12:18:10 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1459339407.fb4cb85a147a5325b874f769194b66cc4f116c4e.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/buildbot/buildbot-0.8.12-r2.ebuild X-VCS-Directories: dev-util/buildbot/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: fb4cb85a147a5325b874f769194b66cc4f116c4e X-VCS-Branch: master Date: Wed, 30 Mar 2016 12:18:10 +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: 13ae1e2b-4b6a-47a2-b2e6-8877753a9065 X-Archives-Hash: 84e9894e79bce51fd0edde51ff962c90 commit: fb4cb85a147a5325b874f769194b66cc4f116c4e Author: Michael Seifert error-reports org> AuthorDate: Tue Mar 22 17:38:04 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Mar 30 12:03:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4cb85a dev-util/buildbot: Version migration elog message not displayed on fresh install. Hides the elog notification about migrating to a new version of buildbot, if there was no previous version installed. Closes: https://github.com/gentoo/gentoo/pull/1027 Signed-off-by: Patrice Clement gentoo.org> dev-util/buildbot/buildbot-0.8.12-r2.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dev-util/buildbot/buildbot-0.8.12-r2.ebuild b/dev-util/buildbot/buildbot-0.8.12-r2.ebuild index c20323b..f7304091 100644 --- a/dev-util/buildbot/buildbot-0.8.12-r2.ebuild +++ b/dev-util/buildbot/buildbot-0.8.12-r2.ebuild @@ -91,10 +91,13 @@ src_install() { pkg_postinst() { readme.gentoo_print_elog - elog - elog "Upstream recommends the following when upgrading:" - elog "Each time you install a new version of Buildbot, you should run the" - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." - elog "This will add files and fix (or at least detect) incompatibilities between" - elog "your old config and the new code." + + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog + elog "Upstream recommends the following when upgrading:" + elog "Each time you install a new version of Buildbot, you should run the" + elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." + elog "This will add files and fix (or at least detect) incompatibilities between" + elog "your old config and the new code." + fi }