From: Amadeusz Żołnowski Date: Tue, 14 Nov 2017 22:53:27 +0000 (+0000) Subject: net-im/gajim: Update desktop mimeinfo cache X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a7199a9035a796574db32ed35ae6a41e44ebd321;p=gentoo.git net-im/gajim: Update desktop mimeinfo cache --- diff --git a/net-im/gajim/gajim-0.16.8-r1.ebuild b/net-im/gajim/gajim-0.16.8-r1.ebuild index 43925d694121..abbc4efb8a7f 100644 --- a/net-im/gajim/gajim-0.16.8-r1.ebuild +++ b/net-im/gajim/gajim-0.16.8-r1.ebuild @@ -8,7 +8,7 @@ PYTHON_REQ_USE="sqlite,xml" AUTOTOOLS_AUTORECONF=true -inherit autotools-utils python-r1 versionator +inherit autotools-utils python-r1 versionator xdg-utils MY_PV=${PV/_/-} MY_P="${PN}-${MY_PV}" @@ -113,3 +113,11 @@ src_install() { } python_foreach_impl installation } + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}