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

Bug 440600

Summary: bash-completion-r1.eclass outputs elog messages that should only be displayed for new installs
Product: Gentoo Linux Reporter: poletti.marco
Component: EclassesAssignee: Michał Górny <mgorny>
Status: RESOLVED INVALID    
Severity: normal    
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 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.