Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cb2bib/
Date: Mon, 01 Aug 2022 02:34:00
Message-Id: 1659320994.f39b58243b63c3a4fbf97f6d2989159acbda82ce.sam@gentoo
1 commit: f39b58243b63c3a4fbf97f6d2989159acbda82ce
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 02:26:20 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 02:29:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39b5824
7
8 app-text/cb2bib: [QA] fix duplicate phase (pkg_postinst)
9
10 Shadowed optfeature-like messages.
11
12 Bug: https://bugs.gentoo.org/861497
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 app-text/cb2bib/cb2bib-2.0.0-r1.ebuild | 8 +++-----
16 1 file changed, 3 insertions(+), 5 deletions(-)
17
18 diff --git a/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild b/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild
19 index 746edabdcd52..a46e68c271d4 100644
20 --- a/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild
21 +++ b/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 @@ -51,6 +51,8 @@ src_install() {
29 }
30
31 pkg_postinst() {
32 + xdg_desktop_database_update
33 +
34 elog "For best functionality, emerge the following packages:"
35 elog " app-text/poppler[utils] - for data import from PDF files"
36 elog " app-text/dvipdfm - for data import from DVI files"
37 @@ -62,10 +64,6 @@ pkg_postinst() {
38 elog " nice printing through the shell script bib2pdf"
39 }
40
41 -pkg_postinst() {
42 - xdg_desktop_database_update
43 -}
44 -
45 pkg_postrm() {
46 xdg_desktop_database_update
47 }