From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30AFB158095 for ; Mon, 1 Aug 2022 02:34:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14B66E0FAD; Mon, 1 Aug 2022 02:33:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA0BFE0FAD for ; Mon, 1 Aug 2022 02:33:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B76B2340E55 for ; Mon, 1 Aug 2022 02:33:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D897544 for ; Mon, 1 Aug 2022 02:33:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1659320994.f39b58243b63c3a4fbf97f6d2989159acbda82ce.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cb2bib/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cb2bib/cb2bib-2.0.0-r1.ebuild X-VCS-Directories: app-text/cb2bib/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f39b58243b63c3a4fbf97f6d2989159acbda82ce X-VCS-Branch: master Date: Mon, 1 Aug 2022 02:33:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7cfb672e-685f-4fc1-98d9-66288f83f19a X-Archives-Hash: 186787f0ce194edead91891727b62bab commit: f39b58243b63c3a4fbf97f6d2989159acbda82ce Author: Sam James gentoo org> AuthorDate: Mon Aug 1 02:26:20 2022 +0000 Commit: Sam James gentoo 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 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 }