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
3ada53b4
Commit
3ada53b4
authored
Dec 17, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix double downloading on error
parent
ac56650d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
eget
eget
+8
-0
No files found.
eget
View file @
3ada53b4
...
...
@@ -1161,6 +1161,8 @@ url_scat()
{
local
URL
=
"
$1
"
download_with_mirroring __wget
"
$URL
"
-
O-
&&
return
local
RES
=
$?
[
-
n
"
$quiet
"
]
||
return
$RES
unset_quiet
download_with_mirroring __wget
"
$URL
"
-
O-
}
...
...
@@ -1219,6 +1221,8 @@ url_scat()
{
local
URL
=
"
$1
"
download_with_mirroring __curl
"
$URL
"
--
output
-
&&
return
local
RES
=
$?
[
-
n
"
$quiet
"
]
||
return
$RES
unset_quiet
download_with_mirroring __curl
"
$URL
"
--
output
-
}
...
...
@@ -1279,6 +1283,8 @@ url_scat()
{
local
URL
=
"
$1
"
download_with_mirroring __aria2
-
x1
-
s1
--
allow-piece-length-change
=
false
-
o
-
"
$URL
"
&&
return
local
RES
=
$?
[
-
n
"
$quiet
"
]
||
return
$RES
unset_quiet
download_with_mirroring __aria2
-
x1
-
s1
--
allow-piece-length-change
=
false
-
o
-
"
$URL
"
}
...
...
@@ -1337,6 +1343,8 @@ url_scat()
fatal
"Improve me (via temp. file?)"
local
URL
=
"
$1
"
download_with_mirroring __axel
-
o
-
"
$URL
"
&&
return
local
RES
=
$?
[
-
n
"
$quiet
"
]
||
return
$RES
unset_quiet
download_with_mirroring __axel
-
o
-
"
$URL
"
}
...
...
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