Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139740 - baselayout-1.12.1 does not configure app-shells/bash-completion
Summary: baselayout-1.12.1 does not configure app-shells/bash-completion
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 02:24 UTC by Nicolas Boichat
Modified: 2006-07-09 02:54 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 Nicolas Boichat 2006-07-09 02:24:07 UTC
app-shells/bash-completion creates this file: /etc/profile.d/bash-completion (without .sh in the end), to configure bash completion.

However, this file is never sourced, as in /etc/profile you have this code:
for sh in /etc/profile.d/*.sh ; do
	if [ -r "$sh" ] ; then
		. "$sh"
	fi
done

(so only *.sh files are sourced)

Two possibilities to fix this bug:
 - Either modify /etc/profile:
-for sh in /etc/profile.d/*.sh ; do
+for sh in /etc/profile.d/* ; do

 - Or, probably easier, rename /etc/profile.d/bash-completion to /etc/profile.d/bash-completion.sh .
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-09 02:35:04 UTC
Kindly read the postinstall info that's provided by bash-completion.
Comment 2 Nicolas Boichat 2006-07-09 02:54:29 UTC
sorry...