summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-12-08 17:37:13 +0800
committerYixun Lan <dlan@gentoo.org>2016-12-08 17:39:15 +0800
commit0e5dbcae4e52d5c1e4ec2b23707b569f397fa311 (patch)
tree84bdce2e939d1e67d7ffadcdc35b33e0b86607b2 /app-emulation/lxc
parentmedia-sound/amarok: add link to reviewboard in ffmpeg3 patch. (diff)
downloadgentoo-0e5dbcae4e52d5c1e4ec2b23707b569f397fa311.tar.gz
gentoo-0e5dbcae4e52d5c1e4ec2b23707b569f397fa311.tar.bz2
gentoo-0e5dbcae4e52d5c1e4ec2b23707b569f397fa311.zip
app-emulation/lxc: fix bashcomp collision with app-emulation/lxd
Gentoo-Bug: 601602 Package-Manager: portage-2.3.3
Diffstat (limited to 'app-emulation/lxc')
-rw-r--r--app-emulation/lxc/lxc-2.0.6-r1.ebuild (renamed from app-emulation/lxc/lxc-2.0.6.ebuild)5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-emulation/lxc/lxc-2.0.6.ebuild b/app-emulation/lxc/lxc-2.0.6-r1.ebuild
index 11e28397c257..b6928bc24b60 100644
--- a/app-emulation/lxc/lxc-2.0.6.ebuild
+++ b/app-emulation/lxc/lxc-2.0.6-r1.ebuild
@@ -158,10 +158,11 @@ src_compile() {
src_install() {
default
+ mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
# start-ephemeral is no longer a command but removing it here
# generates QA warnings (still in upstream completion script)
- bashcomp_alias ${PN} \
- ${PN}-{start,attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
+ bashcomp_alias ${PN}-start \
+ ${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
if use python; then
pushd "${S}/src/python-lxc" > /dev/null