Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
eepm
Commits
7ffb0a31
Commit
7ffb0a31
authored
Apr 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_task_arepo_packages: use eget instead of curl
parent
9569190a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
epm-sh-altlinux
bin/epm-sh-altlinux
+2
-3
No files found.
bin/epm-sh-altlinux
View file @
7ffb0a31
...
@@ -28,12 +28,11 @@ get_task_arepo_packages()
...
@@ -28,12 +28,11 @@ get_task_arepo_packages()
{
{
local
res
local
res
assure_exists apt-repo
assure_exists apt-repo
assure_exists curl
info
"TODO: please, improve apt-repo to support arepo (i586-) packages for apt-repo list task"
info
"TODO: please, improve apt-repo to support arepo (i586-) packages for apt-repo list task"
showcmd
"
curl -s -f
http://git.altlinux.org/tasks/
$tn
/plan/arepo-add-x86_64-i586 | cut -f1"
showcmd
"
eget -q -O-
http://git.altlinux.org/tasks/
$tn
/plan/arepo-add-x86_64-i586 | cut -f1"
# TODO: retrieve one time
# TODO: retrieve one time
res
=
"
$(
a
=
''
curl
-s
-f
http://git.altlinux.org/tasks/
$tn
/plan/arepo-add-x86_64-i586 2>/dev/null
)
"
||
return
#{ warning "There is a download error for x86_64-i586 arepo." ; return ; }
res
=
"
$(
eget
-q
-O-
http://git.altlinux.org/tasks/
$tn
/plan/arepo-add-x86_64-i586 2>/dev/null
)
"
||
return
#{ warning "There is a download error for x86_64-i586 arepo." ; return ; }
echo
"
$res
"
|
cut
-f1
echo
"
$res
"
|
cut
-f1
}
}
...
...
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