Skip to content

Commit

Permalink
app-emulation/lxc: fix bashcomp collision with app-emulation/lxd
Browse files Browse the repository at this point in the history
Gentoo-Bug: 601602

Package-Manager: portage-2.3.3
  • Loading branch information
dlan17 committed Dec 8, 2016
1 parent c9ebc7d commit 0e5dbca
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e5dbca

Please sign in to comment.