From: Michael Palimaka Date: Sun, 3 Sep 2017 06:28:29 +0000 (+1000) Subject: app-editors/ted: update desktop mimeinfo cache X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d0a6839307fa41f04929a0848cf7f1bc387b3982;p=gentoo.git app-editors/ted: update desktop mimeinfo cache Closes: https://bugs.gentoo.org/628718 Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- 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 +}