mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 04:23:47 -05:00
Increased verbosity of aria2c downloader (#534)
This commit is contained in:
@@ -339,14 +339,14 @@ http_head_aria2c() {
|
||||
options=""
|
||||
[ -n "${IPV4}" ] && options="--disable-ipv6=true"
|
||||
[ -n "${IPV6}" ] && options="--disable-ipv6=false"
|
||||
aria2c -q --dry-run ${options} "$1" >&4 2>&1
|
||||
aria2c --dry-run ${options} "$1" >&4 2>&1
|
||||
}
|
||||
|
||||
http_get_aria2c() {
|
||||
options=""
|
||||
[ -n "${IPV4}" ] && options="--disable-ipv6=true"
|
||||
[ -n "${IPV6}" ] && options="--disable-ipv6=false"
|
||||
aria2c -q -o "${2:--}" ${options} "$1"
|
||||
aria2c -o "${2:--}" ${options} "$1"
|
||||
}
|
||||
|
||||
http_head_curl() {
|
||||
|
||||
Reference in New Issue
Block a user