Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-portage/emlop/
Date: Sun, 29 Aug 2021 17:05:58
Message-Id: 1630156411.5d8114518bb162b214bc1396025912388754dcf5.lanodan@gentoo
1 commit: 5d8114518bb162b214bc1396025912388754dcf5
2 Author: Vincent de Phily <moltonel <AT> gmail <DOT> com>
3 AuthorDate: Sat Aug 28 13:13:31 2021 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Sat Aug 28 13:13:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d811451
7
8 app-portage/emlop: Fix shell completion on first install
9
10 As repored/fixed in https://github.com/vincentdephily/moltonel-ebuilds/issues/2
11
12 Package-Manager: Portage-3.0.20, Repoman-3.0.3
13 Signed-off-by: Vincent de Phily <moltonel <AT> gmail.com>
14
15 app-portage/emlop/emlop-0.4.1.ebuild | 8 ++++----
16 1 file changed, 4 insertions(+), 4 deletions(-)
17
18 diff --git a/app-portage/emlop/emlop-0.4.1.ebuild b/app-portage/emlop/emlop-0.4.1.ebuild
19 index c04be2923..68cef1c2d 100644
20 --- a/app-portage/emlop/emlop-0.4.1.ebuild
21 +++ b/app-portage/emlop/emlop-0.4.1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 2017-2020 Gentoo Authors
24 +# Copyright 2017-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 @@ -90,16 +90,16 @@ src_install() {
29 cargo_src_install
30 einstalldocs
31 if use bash-completion; then
32 - emlop complete bash > emlop
33 + ./target/release/emlop complete bash > emlop
34 dobashcomp emlop
35 fi
36 if use zsh-completion; then
37 - emlop complete zsh > _emlop
38 + ./target/release/emlop complete zsh > _emlop
39 insinto /usr/share/zsh/site-functions
40 doins _emlop
41 fi
42 if use fish-completion; then
43 - emlop complete fish > emlop.fish
44 + ./target/release/emlop complete fish > emlop.fish
45 insinto /usr/share/fish/vendor_completions.d
46 doins emlop.fish
47 fi