summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/genkernel/genkernel-3.4.20.ebuild')
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.20.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-kernel/genkernel/genkernel-3.4.20.ebuild b/sys-kernel/genkernel/genkernel-3.4.20.ebuild
index 4e57472c7919..4dd61d74addf 100644
--- a/sys-kernel/genkernel/genkernel-3.4.20.ebuild
+++ b/sys-kernel/genkernel/genkernel-3.4.20.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.20.ebuild,v 1.8 2012/03/19 18:53:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.20.ebuild,v 1.9 2012/05/16 18:56:22 sping Exp $
# genkernel-9999 -> latest Git branch "master"
# genkernel-VERSION -> normal genkernel release
@@ -39,12 +39,12 @@ if [[ ${PV} == 9999* ]]
then
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git
http://git.overlays.gentoo.org/gitroot/proj/${PN}.git"
- inherit git-2 bash-completion eutils
+ inherit git-2 bash-completion-r1 eutils
S="${WORKDIR}/${PN}"
SRC_URI="${COMMON_URI}"
KEYWORDS=""
else
- inherit bash-completion eutils
+ inherit bash-completion-r1 eutils
SRC_URI="mirror://gentoo/${P}.tar.bz2
${MY_HOME}/sources/genkernel/${P}.tar.bz2
${COMMON_URI}"
@@ -130,7 +130,7 @@ src_install() {
"${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \
"${D}"/var/cache/genkernel/src || die "Copying distfiles..."
- dobashcompletion "${FILESDIR}"/genkernel.bash
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
}
pkg_postinst() {
@@ -149,6 +149,4 @@ pkg_postinst() {
ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
echo
-
- bash-completion_pkg_postinst
}