diff options
author | Sam James <sam@gentoo.org> | 2022-03-15 20:10:05 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-15 20:19:12 +0000 |
commit | 9b4a6a4131e05f14c7397d89e1db9ca17a4cc0c4 (patch) | |
tree | c8bc462685babd8390a826a3ce4e0fec714ee3c3 /app-text/lesspipe | |
parent | sys-apps/usbguard: 1.1.1 (diff) | |
download | gentoo-9b4a6a4131e05f14c7397d89e1db9ca17a4cc0c4.tar.gz gentoo-9b4a6a4131e05f14c7397d89e1db9ca17a4cc0c4.tar.bz2 gentoo-9b4a6a4131e05f14c7397d89e1db9ca17a4cc0c4.zip |
app-text/lesspipe: fix bash-completion installation
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/lesspipe')
-rw-r--r-- | app-text/lesspipe/lesspipe-2.04-r1.ebuild (renamed from app-text/lesspipe/lesspipe-2.04.ebuild) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app-text/lesspipe/lesspipe-2.04.ebuild b/app-text/lesspipe/lesspipe-2.04-r1.ebuild index ece7aa8140b7..dc26753ae52b 100644 --- a/app-text/lesspipe/lesspipe-2.04.ebuild +++ b/app-text/lesspipe/lesspipe-2.04-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit bash-completion-r1 + DESCRIPTION="A preprocessor for less" HOMEPAGE="https://github.com/wofr06/lesspipe" SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -31,6 +33,9 @@ src_compile() { src_install() { emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install einstalldocs + + rm -r "${ED}"/etc/bash_completion.d || die + newbashcomp less_completion less } pkg_preinst() { |