From 10c7ad4389c0085f73df9c9b4e9ff6b77cdcce10 Mon Sep 17 00:00:00 2001
From: Adam Thorn <alt36@cam.ac.uk>
Date: Wed, 1 Apr 2020 14:27:28 +0100
Subject: [PATCH] Strip out install check for copied files in java8-jre

Because these files are optionally copied, we can't just
unconditionally include them in the install check condition.
---
 packages/java8-jre.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/packages/java8-jre.xml b/packages/java8-jre.xml
index eb1dfec4..8c252308 100755
--- a/packages/java8-jre.xml
+++ b/packages/java8-jre.xml
@@ -9,9 +9,6 @@
         <check type="uninstall" condition="exists" path="Java 8 Update %version% (64-bit)" />
         <check type="uninstall" condition="exists" path="Java 8 Update %version%" />
       </check>
-      <check type="file" condition="exists" path="%programfiles%\java\jre1.8.0_%version%\lib\deployment.config"/>
-      <check type="file" condition="exists" path="%programfiles%\java\jre1.8.0_%version%\system.config"/>
-      <check type="file" condition="exists" path="%programfiles%\java\jre1.8.0_%version%\exception.sites"/>
     </check>
 
     <install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'>
-- 
GitLab