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 4260758973 for ; Sat, 6 Feb 2016 09:58:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C682021C046; Sat, 6 Feb 2016 09:58:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E88C221C046 for ; Sat, 6 Feb 2016 09:58:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34028340B50 for ; Sat, 6 Feb 2016 09:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75746D25 for ; Sat, 6 Feb 2016 09:58:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1454752655.fc0377a0bee8c25243f549bf015cd5d33668e5f6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python-exec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python-exec/python-exec-2.9999.ebuild X-VCS-Directories: dev-lang/python-exec/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fc0377a0bee8c25243f549bf015cd5d33668e5f6 X-VCS-Branch: master Date: Sat, 6 Feb 2016 09:58:01 +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: a93cbaac-acf1-48e7-809e-26b5b39944b1 X-Archives-Hash: c2eee0ef4da44a87bc0d8d15e733c657 commit: fc0377a0bee8c25243f549bf015cd5d33668e5f6 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 6 09:38:30 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 6 09:57:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0377a0 dev-lang/python-exec: Silence the migration output for initial install dev-lang/python-exec/python-exec-2.9999.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-lang/python-exec/python-exec-2.9999.ebuild b/dev-lang/python-exec/python-exec-2.9999.ebuild index 81e3193..14940d0 100644 --- a/dev-lang/python-exec/python-exec-2.9999.ebuild +++ b/dev-lang/python-exec/python-exec-2.9999.ebuild @@ -116,10 +116,12 @@ pkg_preinst() { fi done - einfo "Keeping the following Python preference: ${old_pythons[*]}" + if [[ ${old_pythons[@]} ]]; then + einfo "Keeping the following Python preference: ${old_pythons[*]}" - local IFS=$'\n' - echo "${old_pythons[*]}" \ - >> "${ED}"etc/python-exec/python-exec.conf || die + local IFS=$'\n' + echo "${old_pythons[*]}" \ + >> "${ED}"etc/python-exec/python-exec.conf || die + fi fi }