commit:     c368290e053a21a32273f3c3d521021f7c95575a
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 31 13:31:59 2017 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 13:31:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c368290e

sci-mathematics/maxima: call xdg_mimeinfo_database_update

Closes: https://bugs.gentoo.org/642820
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/maxima/maxima-5.41.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
index d525a57c25f..c9917d44ca0 100644
--- a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit autotools elisp-common eutils
+inherit autotools elisp-common eutils xdg
 
 DESCRIPTION="Free computer algebra environment based on Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/";
@@ -194,6 +194,7 @@ src_install() {
 }
 
 pkg_postinst() {
+       xdg_mimeinfo_database_update
        if use emacs; then
                elisp-site-regen
                mktexlsr
@@ -201,6 +202,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
+       xdg_mimeinfo_database_update
        if use emacs; then
                elisp-site-regen
                mktexlsr

Reply via email to