1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 12:33:48 -05:00

Increased verbosity of aria2c downloader (#534)

This commit is contained in:
Yamashita, Yuu
2016-02-12 07:08:59 +00:00
parent b116f341fe
commit fbc40aae77
4 changed files with 27 additions and 27 deletions

View File

@@ -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() {