From 04c371d181b658a34e3891106f4733ea0592430e Mon Sep 17 00:00:00 2001
From: Adam Thorn <alt36@cam.ac.uk>
Date: Wed, 19 Feb 2025 11:00:26 +0000
Subject: [PATCH] mathematica: fix commands to remove v14.1

---
 packages/mathematica.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/mathematica.xml b/packages/mathematica.xml
index 25160a70..5ae72068 100755
--- a/packages/mathematica.xml
+++ b/packages/mathematica.xml
@@ -44,9 +44,9 @@
       </condition>
     </remove>
 
-    <remove cmd='"%ProgramFiles%\Wolfram Research\Mathematica\14.1\SystemFiles\UninstallFiles\Windows\unins000.exe" /VERYSILENT /suppressmsgboxes'>
+    <remove cmd='"%ProgramFiles%\Wolfram Research\Wolfram\14.1\SystemFiles\UninstallFiles\Windows\unins000.exe" /VERYSILENT /suppressmsgboxes'>
       <condition>
-        <check type="file" condition="exists" path="%ProgramFiles%\Wolfram Research\Mathematica\14.1\SystemFiles\UninstallFiles\Windows\unins000.exe" />
+        <check type="file" condition="exists" path="%ProgramFiles%\Wolfram Research\Wolfram\14.1\SystemFiles\UninstallFiles\Windows\unins000.exe" />
       </condition>
     </remove>
 
-- 
GitLab