Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 93a7c7a

Browse files
Merge pull request #48 from dimkr/wget
Fix wget detection logic
2 parents 5b293ac + 6558028 commit 93a7c7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎scripts/python_installer‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ function verify_http_client_exists() {
159159
elif [[ "$(wget --version 2>/dev/null || true)" = "GNU Wget 1.1"[0-3]* ]]; then
160160
echo_error_message "wget (>= 1.14) or curl (>= 7.18.1) is required to download and install Python."
161161
exit 1
162+
elif [ -n "$(wget --version 2>/dev/null)" ]; then
163+
return
162164
else
163165
echo_error_message "Could not find \`curl\`, \`wget\`, or \`aria2c\`. Please install one of these tools to continue Python installation"
164166
exit 1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /