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 8A86D15808B for ; Mon, 11 Apr 2022 07:19:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6940E0A82; Mon, 11 Apr 2022 07:19:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A32E0E0A82 for ; Mon, 11 Apr 2022 07:19:43 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3FC834190D for ; Mon, 11 Apr 2022 07:19:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20BBD1BD for ; Mon, 11 Apr 2022 07:19:40 +0000 (UTC) From: "Dex Conner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dex Conner" Message-ID: <1649661457.99b8bcab13e4f5a451926ae628cd099a9db83c8a.cantcuckthis@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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: cantcuckthis X-VCS-Committer-Name: Dex Conner X-VCS-Revision: 99b8bcab13e4f5a451926ae628cd099a9db83c8a X-VCS-Branch: dev Date: Mon, 11 Apr 2022 07:19:40 +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: c0e0a8e2-1ab0-4b62-9d84-cc2631b70d15 X-Archives-Hash: 2df24e28239fff6f39bb2d6600c16584 commit: 99b8bcab13e4f5a451926ae628cd099a9db83c8a Author: Dex Conner danwin1210 de> AuthorDate: Mon Apr 11 07:17:37 2022 +0000 Commit: Dex Conner danwin1210 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 +}