bobafetthotmail / refind-theme-regular

http://munlik.deviantart.com/art/rEFInd-theme-512091944
Other
794 stars 78 forks source link

Fix: `refind_dir` not using default path - "Specified rEFInd install location does not exist" error #38

Closed Nathanjms closed 2 years ago

Nathanjms commented 2 years ago

Currently, if the user presses return when asked Enter rEFInd install location (ie. wants to use the default), this then sets the variable refind_dir to an empty string. This means the user always gets the error Specified rEFInd install location does not exist. Aborting install currently if you use the default path.

This PR adds back in the check that this variable is not empty, and if it is empty, it sets it to the default path before continuing.

I believe that this used to be present in the install script, but was removed (by accident?).

Before:

Not working when the default path is used image

After:

Working again when using the default path. image

bobafetthotmail commented 2 years ago

Thanks for the fix.