Disclaimer: this bug has been filed in a semi-automated manner.
When emerging the package app-shells/gentoo-bashcomp-20101217-r1, the following elog messages are displayed:
* To enable command-line completion for gentoo-bashcomp, run:
* eselect bashcomp enable gentoo
* to install locally, or
* eselect bashcomp enable --global gentoo
* to install system-wide. (and/or repoman instead of gentoo if you use
* repoman frequently)
Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:
if ! has_version 'app-shells/gentoo-bashcomp'; then
See the tracker bug 440214 for more details.
It should behave like new bash-completion-r1.eclass and not show any message like this (also, would be interesting if ebuild could state why this cannot use such eclass ;))
now relies on eclass for that