Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eget
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eget
Commits
a03b3ad0
Commit
a03b3ad0
authored
Jan 08, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix url_scat for aria2 to fallback to wget for stdout output
parent
68b03686
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
eget
eget
+3
-2
No files found.
eget
View file @
a03b3ad0
...
...
@@ -1375,12 +1375,13 @@ __aria2()
# put remote content to stdout
url_scat
()
{
# aria2 -o - creates file named "-", not stdout output, fallback to wget
local
URL
=
"
$1
"
download_with_mirroring __
aria2
-
x1
-
s1
--
allow-piece-length-change
=
false
-
o
-
"
$URL
"
&&
return
download_with_mirroring __
wget
"
$URL
"
-
O-
&&
return
local
RES
=
$?
[
-
n
"
$quiet
"
]
||
return
$RES
unset_quiet
download_with_mirroring __
aria2
-
x1
-
s1
--
allow-piece-length-change
=
false
-
o
-
"
$URL
"
download_with_mirroring __
wget
"
$URL
"
-
O-
}
# Helper function for timestamping with aria2/axel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment