X-Git-Url: https://code.delx.au/refind/blobdiff_plain/ea0768929fa3b215a77375130c19ae0710947400..1f5b3c00f34cd3bfa077b2110d383632295efbd0:/refind-install
diff --git a/refind-install b/refind-install
index 84d6615..68ab959 100755
--- a/refind-install
+++ b/refind-install
@@ -39,7 +39,9 @@
# Revision history:
#
-# 0.10.2 -- Improved Secure Boot detection in Linux & fixed --usedefault in OS X.
+# 0.10.2 -- Improved Secure Boot detection in Linux, fixed --usedefault in OS X,
+# and fixed bug that could cause mountesp to be installed as a FILE
+# called /usr/local/bin in OS X.
# 0.10.1 -- Improve extraction of default kernel options from /proc/cmdline.
# Add support for AMD64 (aka AARCH64, aa64) platform. Added
# warning when --alldrivers used without --usedefault.
@@ -792,7 +794,7 @@ SetupMacHfs() {
ProductName
rEFInd
ProductVersion
- 0.10.1
+ 0.10.2
ENDOFHERE
@@ -863,7 +865,8 @@ InstallOnOSX() {
DetermineTargetDir
CheckForSIP
CopyRefindFiles
- cp "$ThisDir/mountesp" /usr/local/bin &> /dev/null
+ mkdir -p /usr/local/bin &> /dev/null
+ cp "$ThisDir/mountesp" /usr/local/bin/ &> /dev/null
if [[ $InstallToEspOnMac == "1" && -z "$TargetPart" ]] ; then
bless --mount "$InstallDir" --setBoot --file "$InstallDir/$TargetDir/$Refind" --shortform
elif [[ "$TargetDir" != "/EFI/BOOT" ]] ; then