sci-mathematics/maxima: call xdg_mimeinfo_database_update
authorAndrey Grozin <grozin@gentoo.org>
Sun, 31 Dec 2017 13:31:59 +0000 (20:31 +0700)
committerAndrey Grozin <grozin@gentoo.org>
Sun, 31 Dec 2017 13:31:59 +0000 (20:31 +0700)
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

index d525a57c25f410a3a9b9dc691eb8aa392200b174..c9917d44ca01b9866dffdbad5752aa7eb591ce88 100644 (file)
@@ -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