From d0a6839307fa41f04929a0848cf7f1bc387b3982 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 3 Sep 2017 16:28:29 +1000 Subject: [PATCH] app-editors/ted: update desktop mimeinfo cache Closes: https://bugs.gentoo.org/628718 Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- app-editors/ted/ted-2.23.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app-editors/ted/ted-2.23.ebuild b/app-editors/ted/ted-2.23.ebuild index 790d41379b1d..47c86d46a256 100644 --- a/app-editors/ted/ted-2.23.ebuild +++ b/app-editors/ted/ted-2.23.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils toolchain-funcs +inherit eutils toolchain-funcs xdg-utils DESCRIPTION="X-based rich text editor" HOMEPAGE="http://www.nllgg.nl/Ted" @@ -64,3 +64,11 @@ src_install() { default dosym ../share/Ted/examples/rtf2pdf.sh /usr/bin/rtf2pdf.sh } + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} -- 2.26.2