Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440600 - bash-completion-r1.eclass outputs elog messages that should only be displayed for new installs
Summary: bash-completion-r1.eclass outputs elog messages that should only be displayed...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
Depends on:
Blocks: first-time-messages
  Show dependency tree
Reported: 2012-10-31 11:46 UTC by poletti.marco
Modified: 2012-10-31 16:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 11:46:27 UTC
When emerging a package using the fonts eclass, for example dev-ruby/rake, the following elog messages are displayed:

 * The following bash-completion scripts have been installed:
 *      rake
 * To enable command-line completion on a per-user basis run:
 *      eselect bashcomp enable <script>
 * To enable command-line completion system-wide run:
 *      eselect bashcomp enable --global <script>

Such messages should only be displayed when the package is a new install.
These situations can be checked in the eclass as follows:

if ! has_version "${PN}"; then

See the tracker bug 440214 for more details.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-31 16:25:40 UTC
What? bash-completion-r1 doesn't output any messages. That's one of the improvements over the old eclass.