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
40629506
Commit
40629506
authored
Oct 31, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-download: print eget line, add fatal if package is missed
parent
8bee8b33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
epm-download
bin/epm-download
+5
-1
No files found.
bin/epm-download
View file @
40629506
...
@@ -212,6 +212,10 @@ __epm_download_alt()
...
@@ -212,6 +212,10 @@ __epm_download_alt()
shift
shift
fi
fi
if
[
-z
"
$@
"
]
;
then
fatal
"Missed package name"
fi
load_helper epm-sh-altlinux
load_helper epm-sh-altlinux
# TODO: enable if install --download-only will works
# TODO: enable if install --download-only will works
...
@@ -244,7 +248,7 @@ __epm_download_alt()
...
@@ -244,7 +248,7 @@ __epm_download_alt()
for
i
in
$(
sudocmd apt-get
install
-y
--print-uris
--reinstall
"
$pkg
"
|
cut
-f1
-d
" "
|
grep
".rpm'$"
|
sed
-e
"s|^'||"
-e
"s|'
$|
|"
)
;
do
for
i
in
$(
sudocmd apt-get
install
-y
--print-uris
--reinstall
"
$pkg
"
|
cut
-f1
-d
" "
|
grep
".rpm'$"
|
sed
-e
"s|^'||"
-e
"s|'
$|
|"
)
;
do
echo
"
$(
basename
"
$i
"
)
"
|
grep
-q
"^
$pkg
"
||
continue
echo
"
$(
basename
"
$i
"
)
"
|
grep
-q
"^
$pkg
"
||
continue
[
-n
"
$print_url
"
]
&&
echo
"
$i
"
&&
continue
[
-n
"
$print_url
"
]
&&
echo
"
$i
"
&&
continue
eget
"
$i
"
docmd
eget
"
$i
"
done
done
done
done
return
return
...
...
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