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 0741515808C for ; Tue, 12 Apr 2022 19:35:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFA70E0992; Tue, 12 Apr 2022 19:35:35 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EA83E097D for ; Tue, 12 Apr 2022 19:35:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75AA4341545 for ; Tue, 12 Apr 2022 19:35:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A3973A9 for ; Tue, 12 Apr 2022 19:35:31 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1649661457.99b8bcab13e4f5a451926ae628cd099a9db83c8a.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/lf/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/lf/lf-27.ebuild X-VCS-Directories: app-misc/lf/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 99b8bcab13e4f5a451926ae628cd099a9db83c8a X-VCS-Branch: master Date: Tue, 12 Apr 2022 19:35:31 +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: d23ab69d-37ae-4ff9-ad15-8818c3e1ed3d X-Archives-Hash: 9add3f144adebdb71830a0050c6c4af1 commit: 99b8bcab13e4f5a451926ae628cd099a9db83c8a Author: Dex Conner danwin1210 de> AuthorDate: Mon Apr 11 07:17:37 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Mon Apr 11 07:17:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99b8bcab app-misc/lf: Update mimeinfo cache Signed-off-by: Dex Conner danwin1210.de> app-misc/lf/lf-27.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app-misc/lf/lf-27.ebuild b/app-misc/lf/lf-27.ebuild index 70aa483cb..345900a6c 100644 --- a/app-misc/lf/lf-27.ebuild +++ b/app-misc/lf/lf-27.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit go-module bash-completion-r1 desktop +inherit go-module bash-completion-r1 desktop xdg-utils SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://github.com/cantcuckthis/gentoo-lf/raw/main/${P}-deps.tar.xz" @@ -56,3 +56,13 @@ src_install() { domenu "${PN}.desktop" } + +src_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +src_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}