Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440428 - app-shells/bash-completion-1.3: some elog messages should only be shown for the first install.
Summary: app-shells/bash-completion-1.3: some elog messages should only be shown for t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 10:58 UTC by poletti.marco
Modified: 2013-08-25 17:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 10:58:39 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-shells/bash-completion-1.3, the following elog messages are displayed:

 * Any user can enable the module completions without editing their
 * .bashrc by running:
 * 
 *     eselect bashcomp enable <module>
 * 
 * The system administrator can also be enable this globally with
 * 
 *     eselect bashcomp enable --global <module>
 * 
 * Make sure you at least enable the base module! Additional completion
 * modules can be found by running
 * 
 *     eselect bashcomp list
 * 
 * If you use non-login shells you still need to source
 * /etc/profile.d/bash-completion.sh in your ~/.bashrc.

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/bash-completion'; then

See the tracker bug 440214 for more details.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-08-25 17:02:30 UTC
This looks fixed in 2.1-r1's ebuild since the message mentioned in Comment #0 no longer exists there.