Skip to content

Commit

Permalink
app-editors/ted: update desktop mimeinfo cache
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/628718
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
Michael Palimaka committed Sep 3, 2017
1 parent b1e7991 commit d0a6839
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app-editors/ted/ted-2.23.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit d0a6839

Please sign in to comment.