net-im/gajim: Update desktop mimeinfo cache
authorAmadeusz Żołnowski <aidecoe@gentoo.org>
Tue, 14 Nov 2017 22:53:27 +0000 (22:53 +0000)
committerAmadeusz Żołnowski <aidecoe@gentoo.org>
Tue, 14 Nov 2017 23:00:23 +0000 (23:00 +0000)
net-im/gajim/gajim-0.16.8-r1.ebuild

index 43925d6941210178f76acbefc3f66fe80e4200c5..abbc4efb8a7f1b432817a629a65baff573a9f43b 100644 (file)
@@ -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
+}