commit: 729f17f718d0d3abb9eb2b702215d6b44ccc74b2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> AuthorDate: Thu Sep 28 16:37:52 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Thu Sep 28 17:11:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729f17f7
app-text/xdvik: Call xdg_desktop_database_update() (bug #628826). app-text/xdvik/xdvik-22.87.03.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-text/xdvik/xdvik-22.87.03.ebuild b/app-text/xdvik/xdvik-22.87.03.ebuild index 534a820e633..76037612857 100644 --- a/app-text/xdvik/xdvik-22.87.03.ebuild +++ b/app-text/xdvik/xdvik-22.87.03.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils flag-o-matic elisp-common toolchain-funcs multilib +inherit elisp-common eutils flag-o-matic multilib toolchain-funcs xdg-utils DESCRIPTION="DVI previewer for X Window System" HOMEPAGE="http://xdvi.sourceforge.net/" @@ -92,6 +92,8 @@ src_install() { } pkg_postinst() { + xdg_desktop_database_update + if use emacs; then elog "Add" elog " (add-to-list 'load-path \"${EPREFIX}${SITELISP}/tex-utils\")" @@ -99,3 +101,7 @@ pkg_postinst() { elog "to your ~/.emacs file" fi } + +pkg_postrm() { + xdg_desktop_database_update +}
