commit: d0a6839307fa41f04929a0848cf7f1bc387b3982 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Sun Sep 3 06:28:29 2017 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sun Sep 3 06:29:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a68393
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 790d41379b1..47c86d46a25 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 +}
