summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-09-03 16:28:29 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-09-03 16:29:56 +1000
commitd0a6839307fa41f04929a0848cf7f1bc387b3982 (patch)
tree34e0f1ed5237aec8e5506c4cb8cb408e0bb0f15b /app-editors/ted
parentx11-apps/radeontop: fix multilib-strict violation (diff)
downloadgentoo-d0a6839307fa41f04929a0848cf7f1bc387b3982.tar.gz
gentoo-d0a6839307fa41f04929a0848cf7f1bc387b3982.tar.bz2
gentoo-d0a6839307fa41f04929a0848cf7f1bc387b3982.zip
app-editors/ted: update desktop mimeinfo cache
Closes: https://bugs.gentoo.org/628718 Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-editors/ted')
-rw-r--r--app-editors/ted/ted-2.23.ebuild12
1 files 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
+}