From af9f1cd5d604ab73bb6f2fdea2e5034685e35853 Mon Sep 17 00:00:00 2001 From: Jeffrey Lin Date: Sat, 27 Jun 2020 19:41:14 -0400 Subject: sci-mathematics/mathematica: use domenu instead of direct insinto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeffrey Lin Signed-off-by: Andreas K. Hüttel --- sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild') diff --git a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild index 864d31646209..a5af27f51d9c 100644 --- a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild +++ b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit multilib xdg +inherit desktop multilib xdg DESCRIPTION="Wolfram Mathematica" SRC_URI="Mathematica_${PV}_LINUX.sh" @@ -62,12 +62,11 @@ src_install() { done # fix some embedded paths and install desktop files - insinto /usr/share/applications for filename in $(find "${D}/${M_TARGET}/SystemFiles/Installation" -name "wolfram-mathematica.desktop") ; do echo Fixing "${filename}" sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}" echo "Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}" - doins "${filename}" + domenu "${filename}" done # install mime types -- cgit v1.2.3-65-gdbad