mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-11 15:59:08 +01:00
Update "outdated curl" message
for issues like #400, update message to mention potential $PATH issues
This commit is contained in:
parent
d9221bba49
commit
85825da7c6
@ -236,8 +236,10 @@ set_tool_paths() {
|
||||
"* You need to be on macOS 10.13 or newer to continue."
|
||||
fi
|
||||
if [[ $(which curl) == "/usr/bin/curl" ]] && (( mac_ver < 15 )); then
|
||||
error "Outdated curl detected, cannot continue." \
|
||||
"* Please read the wiki and install the requirements needed in Homebrew/MacPorts: https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/How-to-Use"
|
||||
local error_msg="* You need to install curl from Homebrew or MacPorts."
|
||||
error_msg+=$'\n* Make sure that /usr/local/bin (or /opt/local/bin) is in your $PATH.'
|
||||
error_msg+=$'\n* Please read the wiki and install the requirements needed in Homebrew/MacPorts: https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/How-to-Use'
|
||||
error "Outdated curl detected, cannot continue." "$error_msg"
|
||||
fi
|
||||
fi
|
||||
bspatch="$(which bspatch)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user