commit:     0a9463b02a9e2573e381693b02e400a9d632e826
Author:     0xd34df00d <0xd34df00d <AT> gmail <DOT> com>
AuthorDate: Sun Apr  5 00:47:35 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr  9 12:37:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9463b0

app-leechcraft/lc-bittorrent: update XDG DB

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Georg Rudoy <0xd34df00d <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild 
b/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
index 7ac2ceed98f..bbae0221dbc 100644
--- a/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
+++ b/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit leechcraft
+inherit xdg-utils leechcraft
 
 DESCRIPTION="Full-featured BitTorrent client plugin for LeechCraft"
 
@@ -28,3 +28,11 @@ src_configure() {
        )
        cmake_src_configure
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to