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
2 years ago
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=
...
@@ -100,6 +100,7 @@ short=
direct
=
direct
=
sort
=
sort
=
non_interactive
=
$EPM_AUTO
non_interactive
=
$EPM_AUTO
download_only
=
interactive
=
interactive
=
force_yes
=
force_yes
=
skip_installed
=
skip_installed
=
...
@@ -466,6 +467,9 @@ check_option()
...
@@ -466,6 +467,9 @@ check_option()
--noscripts
)
# HELPOPT: disable scripts in install packages
--noscripts
)
# HELPOPT: disable scripts in install packages
noscripts
=
"--noscripts"
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)
--sort
)
# HELPOPT: sort output, f.i. --sort=size (supported only for packages command)
# TODO: how to read arg?
# TODO: how to read arg?
sort
=
"
$1
"
sort
=
"
$1
"
...
...
This diff is collapsed.
Click to expand it.
bin/epm-pack
View file @
1f16d1f5
...
@@ -41,9 +41,11 @@ __epm_pack()
...
@@ -41,9 +41,11 @@ __epm_pack()
$repackcode
$tarname
$filefortarname
||
fatal
$repackcode
$tarname
$filefortarname
||
fatal
returntarname
=
"
$(
cat
$filefortarname
)
"
returntarname
=
"
$(
cat
$filefortarname
)
"
# TODO
if
[
-n
"
$download_only
"
]
;
then
cp
$returntarname
.
cp
$returntarname
.
exit
return
fi
mv
$returntarname
$tmpdir
/
||
fatal
mv
$returntarname
$tmpdir
/
||
fatal
cd
$tmpdir
||
fatal
cd
$tmpdir
||
fatal
...
...
This diff is collapsed.
Click to expand it.
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