commit:     317e8de2a8e816a2c79853df6d4cac6f7c248732
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Nov 29 13:46:34 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 13:46:34 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=317e8de2

sci-misc/mendeleydekstop: add fdo-mime_*_database_update to pkg_postinst

---
 sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild 
b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
index 173fd5f..bca2057 100644
--- a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
+++ b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils multilib
+inherit eutils fdo-mime multilib
 
 MY_P_AMD64="${P}-linux-x86_64"
 MY_P_X86="${P}-linux-i486"
@@ -116,3 +116,8 @@ src_install() {
        into /opt
        make_wrapper ${PN} "/opt/${PN}/bin/${PN} --unix-distro-build"
 }
+
+pkg_postinst() {
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
+}

Reply via email to