From 729f17f718d0d3abb9eb2b702215d6b44ccc74b2 Mon Sep 17 00:00:00 2001
From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Date: Thu, 28 Sep 2017 18:37:52 +0200
Subject: 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(-)

(limited to 'app-text/xdvik')

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
+}
-- 
cgit v1.2.1