app-shells/bash-completion: Fix missing 'tar' aliases in 2.9
authorMichał Górny <mgorny@gentoo.org>
Sun, 28 Apr 2019 08:38:08 +0000 (10:38 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 28 Apr 2019 08:42:03 +0000 (10:42 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-shells/bash-completion/bash-completion-2.9.ebuild

index 41547998e7a1b91faaa6c2134d2c73b9c461ea26..e759014076a8969a60862b551434bdf93fb11419 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 BASHCOMP_P=bashcomp-2.0.2
 PYTHON_COMPAT=( python3_{5,6,7} )
-inherit python-any-r1
+inherit bash-completion-r1 python-any-r1
 
 DESCRIPTION="Programmable Completion for bash"
 HOMEPAGE="https://github.com/scop/bash-completion"
@@ -112,6 +112,8 @@ src_install() {
        emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
 
        strip_completions
+       # fix missing aliases
+       bashcomp_alias tar bsdtar gtar star
 
        dodoc AUTHORS CHANGES CONTRIBUTING.md README.md