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
1f16d1f5
Commit
1f16d1f5
authored
Mar 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack: add support for --download-only
parent
fcb78296
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
epm
bin/epm
+4
-0
epm-pack
bin/epm-pack
+5
-3
No files found.
bin/epm
View file @
1f16d1f5
...
...
@@ -100,6 +100,7 @@ short=
direct
=
sort
=
non_interactive
=
$EPM_AUTO
download_only
=
interactive
=
force_yes
=
skip_installed
=
...
...
@@ -466,6 +467,9 @@ check_option()
--noscripts
)
# HELPOPT: disable scripts in install packages
noscripts
=
"--noscripts"
;;
--download-only
)
# HELPOPT: download only the package
download_only
=
"--download-only"
;;
--sort
)
# HELPOPT: sort output, f.i. --sort=size (supported only for packages command)
# TODO: how to read arg?
sort
=
"
$1
"
...
...
bin/epm-pack
View file @
1f16d1f5
...
...
@@ -41,9 +41,11 @@ __epm_pack()
$repackcode
$tarname
$filefortarname
||
fatal
returntarname
=
"
$(
cat
$filefortarname
)
"
# TODO
cp
$returntarname
.
exit
if
[
-n
"
$download_only
"
]
;
then
cp
$returntarname
.
return
fi
mv
$returntarname
$tmpdir
/
||
fatal
cd
$tmpdir
||
fatal
...
...
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