summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2006-02-24 16:57:21 +0000
committerAron Griffis <agriffis@gentoo.org>2006-02-24 16:57:21 +0000
commitd9aeb25cf4e4855f5f815dcb20f3065fb46520d5 (patch)
tree1cbb2d4ff7feeabe29bc520dce26f15fcf72dcb0 /dev-util
parentBump to 0.8 (from 0.7). #121908 (diff)
downloadgentoo-2-d9aeb25cf4e4855f5f815dcb20f3065fb46520d5.tar.gz
gentoo-2-d9aeb25cf4e4855f5f815dcb20f3065fb46520d5.tar.bz2
gentoo-2-d9aeb25cf4e4855f5f815dcb20f3065fb46520d5.zip
Add bash-completion support #106266
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mercurial/ChangeLog5
-rw-r--r--dev-util/mercurial/mercurial-0.8.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-util/mercurial/ChangeLog b/dev-util/mercurial/ChangeLog
index b0e9598bce83..fef3e67bed37 100644
--- a/dev-util/mercurial/ChangeLog
+++ b/dev-util/mercurial/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/mercurial
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.15 2006/02/24 16:40:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.16 2006/02/24 16:57:21 agriffis Exp $
+
+ 24 Feb 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.8.ebuild:
+ Add bash-completion support #106266
*mercurial-0.8 (24 Feb 2006)
diff --git a/dev-util/mercurial/mercurial-0.8.ebuild b/dev-util/mercurial/mercurial-0.8.ebuild
index 9dba3f7fc69b..1103b9c72bd0 100644
--- a/dev-util/mercurial/mercurial-0.8.ebuild
+++ b/dev-util/mercurial/mercurial-0.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.8.ebuild,v 1.1 2006/02/24 16:40:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.8.ebuild,v 1.2 2006/02/24 16:57:21 agriffis Exp $
-inherit distutils
+inherit bash-completion distutils
MY_PV=${PV//_p/.}
@@ -40,8 +40,15 @@ src_compile() {
src_install() {
distutils_src_install
+ dobashcompletion contrib/bash_completion ${PN}
+
dodoc CONTRIBUTORS PKG-INFO README *.txt
cp hgweb*.cgi ${D}/usr/share/doc/${PF}/
cp -r contrib ${D}/usr/share/doc/${PF}/
doman doc/*.?
}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ bash-completion_pkg_postinst
+}