Browse Source

Trivial fixes

pull/539/head
Yamashita, Yuu 8 years ago
parent
commit
8ea88dee1c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      plugins/python-build/bin/python-build

+ 2
- 2
plugins/python-build/bin/python-build View File

@ -330,13 +330,13 @@ http() {
elif type wget &>/dev/null; then elif type wget &>/dev/null; then
"http_${method}_wget" "$url" "$file" "http_${method}_wget" "$url" "$file"
else 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 exit 1
fi fi
} }
http_head_aria2c() { http_head_aria2c() {
aria2c --dry-run ${ARIA2_OPTS} "$1" >&4 2>&1
aria2c --dry-run ${ARIA2_OPTS} "$1" >&4 2>&1
} }
http_get_aria2c() { http_get_aria2c() {

Loading…
Cancel
Save