Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440430

Summary: app-shells/gentoo-bashcomp-20101217-r1: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED OBSOLETE    
Severity: normal CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:58:40 UTC
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.
Comment 1 Pacho Ramos gentoo-dev 2013-02-07 19:52:02 UTC
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 ;))
Comment 2 Pacho Ramos gentoo-dev 2018-11-09 08:31:16 UTC
now relies on eclass for that