summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/rkt')
-rw-r--r--app-emulation/rkt/rkt-1.15.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-emulation/rkt/rkt-1.15.0.ebuild b/app-emulation/rkt/rkt-1.15.0.ebuild
index 268d8080889a..62861b0d55ce 100644
--- a/app-emulation/rkt/rkt-1.15.0.ebuild
+++ b/app-emulation/rkt/rkt-1.15.0.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit autotools flag-o-matic systemd toolchain-funcs user
+inherit bash-completion-r1 autotools flag-o-matic systemd toolchain-funcs user
KEYWORDS="~amd64"
@@ -197,6 +197,7 @@ src_compile() {
amd64) arch=x86_64;;
esac
ARCH=${arch} emake
+ ARCH=${arch} emake bash-completion
}
src_install() {
@@ -230,6 +231,8 @@ src_install() {
systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.service
systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.socket
+ newbashcomp "${S}"/dist/bash_completion/rkt.bash rkt
+
keepdir /etc/${PN}
fowners :rkt-admin /etc/${PN}
fperms 2775 /etc/${PN}