Drop .py from macrecovery

This commit is contained in:
Martin Wimpress 2021-10-05 17:11:49 +01:00
parent f67be4ef10
commit 86e634b2bd
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3
3 changed files with 3 additions and 3 deletions

View file

@ -185,8 +185,8 @@ function get_macos() {
# Use a bundled macrecovery if possible
CWD="$(dirname ${0})"
if [ -x "${CWD}/macrecovery.py" ]; then
MACRECOVERY="${CWD}/macrecovery.py"
if [ -x "${CWD}/macrecovery" ]; then
MACRECOVERY="${CWD}/macrecovery"
elif [ -x /usr/bin/macrecovery ]; then
MACRECOVERY="/usr/bin/macrecovery"
else