Skip to content

Commit

Permalink
api: switch wget function to always use wget instead of aria2c
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Mar 27, 2024
1 parent ad88297 commit 73f0e3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api
Original file line number Diff line number Diff line change
Expand Up @@ -3384,11 +3384,12 @@ git_clone() { #silently clone a git repository but display the output if an erro
}

wget() { #Intercept all wget commands. When possible, uses aria2c.
# FIXME: use wget always until upstream bug is resolved https://github.com/aria2/aria2/issues/2197
local file=''
local url=''
local passopts=()
#determine the download manager to use
local use=aria2c
local use=wget
#determine if being run silently (if the '-q' flag was passed)
local quiet=0

Expand Down

0 comments on commit 73f0e3b

Please sign in to comment.