--- cogito-0.17.3-org.ebuild 2006-12-16 22:09:45.000000000 +0100 +++ cogito-0.17.3.ebuild 2006-12-16 22:38:50.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/cogito/cogito-0.17.3.ebuild,v 1.9 2006/08/19 18:13:01 tove Exp $ -inherit eutils +inherit eutils bash-completion MY_PV=${PV//_/} @@ -47,6 +47,9 @@ dodir /usr/share/doc/${PF}/{,html,contrib} cp "${SDOC}"/html/* "${D}"/usr/share/doc/${PF}/html cp "${S}"/contrib/* "${D}"/usr/share/doc/${PF}/contrib + + sed -i 's|\\cg-\\(|cg-\\(|g' "${S}"/contrib/cg-completion.bash || einfo "QA: Obsolete fix in ebuild." + dobashcompletion "${S}"/contrib/cg-completion.bash ${PN} } src_test() {