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

@ -33,7 +33,7 @@ We have a Discord for this project: [![Discord](https://img.shields.io/discord/7
* [jq](https://stedolan.github.io/jq/)
* [procps](https://gitlab.com/procps-ng/procps)
* [python3](https://www.python.org/)
* [macrecovery.py](https://github.com/acidanthera/OpenCorePkg/tree/master/Utilities/macrecovery)
* [macrecovery](https://github.com/acidanthera/OpenCorePkg/tree/master/Utilities/macrecovery)
* [usbutils](https://github.com/gregkh/usbutils)
* [util-linux](https://github.com/karelzak/util-linux)
* [sed](https://www.gnu.org/software/sed/)

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