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?).
Currently, if the user presses return when asked
Enter rEFInd install location
(ie. wants to use the default), this then sets the variablerefind_dir
to an empty string. This means the user always gets the errorSpecified 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
After:
Working again when using the default path.