mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Trivial fixes
This commit is contained in:
parent
a0e0f1637a
commit
8ea88dee1c
1 changed files with 2 additions and 2 deletions
|
@ -330,13 +330,13 @@ http() {
|
|||
elif type wget &>/dev/null; then
|
||||
"http_${method}_wget" "$url" "$file"
|
||||
else
|
||||
echo "error: please install \`curl\` or \`wget\` and try again" >&2
|
||||
echo "error: please install \`aria2c\`, \`curl\` or \`wget\` and try again" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
http_head_aria2c() {
|
||||
aria2c --dry-run ${ARIA2_OPTS} "$1" >&4 2>&1
|
||||
aria2c --dry-run ${ARIA2_OPTS} "$1" >&4 2>&1
|
||||
}
|
||||
|
||||
http_get_aria2c() {
|
||||
|
|
Loading…
Reference in a new issue