summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJP-Ellis2021-02-13 08:43:47 +1100
committerJP-Ellis2021-02-13 08:43:47 +1100
commit9f395c4fbacfc6034bb6ec6401442b779d4e0c0b (patch)
tree8dbec631bedfaa8e2bff3d91be2c45e4af5cfc30 /PKGBUILD
parentd0b67c1622b8649a3eff9890bffd08069dc6ad58 (diff)
downloadaur-mathematica.tar.gz
Fix desktop file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 963472db01e..3146b166d4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -141,8 +141,8 @@ package() {
desktopFile='wolfram-mathematica12.desktop'
sed -Ei 's|^(\s*TryExec=).*|\1/usr/bin/Mathematica|g' $desktopFile
sed -Ei 's|^(\s*Exec=).*|\1/usr/bin/Mathematica %F|g' $desktopFile
- printf 'Categories=Science;Math;NumericalAnalysis;DataVisualization;' >> $desktopFile
- printf 'StartupWMClass=Mathematica;' >> $desktopFile
+ printf 'Categories=Science;Math;NumericalAnalysis;DataVisualization;\n' >> $desktopFile
+ printf 'StartupWMClass=Mathematica;\n' >> $desktopFile
cp $desktopFile ${pkgdir}/usr/share/applications/
cp wolfram-all.directory ${pkgdir}/usr/share/desktop-directories/
cp *.xml ${pkgdir}/usr/share/mime/packages/