From: Yixun Lan Date: Thu, 8 Dec 2016 09:37:13 +0000 (+0800) Subject: app-emulation/lxc: fix bashcomp collision with app-emulation/lxd X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0e5dbcae4e52d5c1e4ec2b23707b569f397fa311;p=gentoo.git app-emulation/lxc: fix bashcomp collision with app-emulation/lxd Gentoo-Bug: 601602 Package-Manager: portage-2.3.3 --- diff --git a/app-emulation/lxc/lxc-2.0.6.ebuild b/app-emulation/lxc/lxc-2.0.6-r1.ebuild similarity index 95% rename from app-emulation/lxc/lxc-2.0.6.ebuild rename to 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