From 006d82875febe138a6421e34e70c65199aa9d3ce Mon Sep 17 00:00:00 2001 From: vectorsigma72 Date: Sun, 12 Apr 2020 14:53:04 +0200 Subject: [PATCH] Possible fix for issue 117 though the error falls on some other program that uses these files, like software update. This appear to be a bug in Catalina and newer and more errors like that are expected.. The fix is to delete the problematic files before the installer tries to overwrite them. --- CloverPackage/package/Scripts.templates/EFIFolder/preinstall | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CloverPackage/package/Scripts.templates/EFIFolder/preinstall b/CloverPackage/package/Scripts.templates/EFIFolder/preinstall index 77b091b72..6ef8bda1c 100755 --- a/CloverPackage/package/Scripts.templates/EFIFolder/preinstall +++ b/CloverPackage/package/Scripts.templates/EFIFolder/preinstall @@ -200,6 +200,9 @@ if [[ -d "${EFI_ROOT_DIR}/EFI/CLOVER/drivers64UEFI" && \ fi fi +# issue 117, even if the fault lies with some other program that uses these files +rm -f "${EFI_ROOT_DIR}/EFI/BOOT/BOOTX64.efi +rm -f "${EFI_ROOT_DIR}/EFI/CLOVER/CLOVERX64.efi # Remove old CloverEFI files #rm -fv "$EFI_ROOT_DIR"/boot{3,6,7}