From: Michał Górny Date: Sat, 6 Feb 2016 09:38:30 +0000 (+0100) Subject: dev-lang/python-exec: Silence the migration output for initial install X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc0377a0bee8c25243f549bf015cd5d33668e5f6;p=gentoo.git dev-lang/python-exec: Silence the migration output for initial install --- diff --git a/dev-lang/python-exec/python-exec-2.9999.ebuild b/dev-lang/python-exec/python-exec-2.9999.ebuild index 81e31934113a..14940d0d0a01 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 }