commit:     c0c7320c64220f984d8692e84d2b3ab717123341
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 09:14:35 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 09:15:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c7320c

xfce-base/thunar: Fix missed desktop db update

 xfce-base/thunar/thunar-1.6.12.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/xfce-base/thunar/thunar-1.6.12.ebuild 
b/xfce-base/thunar/thunar-1.6.12.ebuild
index 1081996ccfd..7f0e7ed3946 100644
--- a/xfce-base/thunar/thunar-1.6.12.ebuild
+++ b/xfce-base/thunar/thunar-1.6.12.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit virtualx
+inherit virtualx xdg-utils
 
 MY_P=${P^}
 
@@ -65,3 +65,11 @@ src_configure() {
 src_test() {
        virtx emake check
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to