X-Git-Url: https://code.delx.au/refind/blobdiff_plain/775c835c500538b43f65469afadc2af7b61cf65b..c88af30fa999cda624f7e9b77b3108e139457dd3:/install.sh diff --git a/install.sh b/install.sh old mode 100755 new mode 100644 index c70c803..87bc4cb --- a/install.sh +++ b/install.sh @@ -17,6 +17,7 @@ # # Revision history: # +# 0.4.1 -- Added check for rEFItBlesser in OS X # 0.3.3.1 -- Fixed OS X 10.7 bug; also works as make target # 0.3.2.1 -- Check for presence of source files; aborts if not present # 0.3.2 -- Initial version @@ -160,6 +161,19 @@ InstallOnOSX() { if [[ $? != 0 ]] ; then Problems=1 fi + if [[ -f /Library/StartupItems/rEFItBlesser ]] ; then + echo + echo "/Library/StartupItems/rEFItBlesser file found!" + echo "This program is part of rEFIt, and will cause rEFInd to fail to work after" + echo -n "its first boot. Do you want to remove rEFItBlesser (Y/N)? " + read YesNo + if [[ $YesNo == "Y" || $YesNo == "y" ]] ; then + echo "Deleting /Library/StartupItems/rEFItBlesser..." + rm /Library/StartupItems/rEFItBlesser + else + echo "Not deleting rEFItBlesser." + fi + fi echo echo "WARNING: If you have an Advanced Format disk, *DO NOT* attempt to check the" echo "bless status with 'bless --info', since this is known to cause disk corruption"