Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-misc/mendeleydesktop/
Date: Sun, 30 Nov 2014 13:34:46
Message-Id: 1417268794.317e8de2a8e816a2c79853df6d4cac6f7c248732.jlec@gentoo
1 commit: 317e8de2a8e816a2c79853df6d4cac6f7c248732
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Nov 29 13:46:34 2014 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 29 13:46:34 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=317e8de2
7
8 sci-misc/mendeleydekstop: add fdo-mime_*_database_update to pkg_postinst
9
10 ---
11 sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild | 7 ++++++-
12 1 file changed, 6 insertions(+), 1 deletion(-)
13
14 diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
15 index 173fd5f..bca2057 100644
16 --- a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
17 +++ b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
18 @@ -4,7 +4,7 @@
19
20 EAPI="5"
21
22 -inherit eutils multilib
23 +inherit eutils fdo-mime multilib
24
25 MY_P_AMD64="${P}-linux-x86_64"
26 MY_P_X86="${P}-linux-i486"
27 @@ -116,3 +116,8 @@ src_install() {
28 into /opt
29 make_wrapper ${PN} "/opt/${PN}/bin/${PN} --unix-distro-build"
30 }
31 +
32 +pkg_postinst() {
33 + fdo-mime_desktop_database_update
34 + fdo-mime_mime_database_update
35 +}