commit:     f39b58243b63c3a4fbf97f6d2989159acbda82ce
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  1 02:26:20 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug  1 02:29:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39b5824

app-text/cb2bib: [QA] fix duplicate phase (pkg_postinst)

Shadowed optfeature-like messages.

Bug: https://bugs.gentoo.org/861497
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/cb2bib/cb2bib-2.0.0-r1.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild 
b/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild
index 746edabdcd52..a46e68c271d4 100644
--- a/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild
+++ b/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -51,6 +51,8 @@ src_install() {
 }
 
 pkg_postinst() {
+       xdg_desktop_database_update
+
        elog "For best functionality, emerge the following packages:"
        elog "    app-text/poppler[utils] - for data import from PDF files"
        elog "    app-text/dvipdfm        - for data import from DVI files"
@@ -62,10 +64,6 @@ pkg_postinst() {
        elog "                              nice printing through the shell 
script bib2pdf"
 }
 
-pkg_postinst() {
-       xdg_desktop_database_update
-}
-
 pkg_postrm() {
        xdg_desktop_database_update
 }

Reply via email to