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
893bbd63
Commit
893bbd63
authored
Mar 23, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace --download-only with --save-only
parent
8d14fb5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
epm
bin/epm
+6
-2
epm-install
bin/epm-install
+6
-6
No files found.
bin/epm
View file @
893bbd63
...
...
@@ -102,6 +102,7 @@ short=
direct
=
sort
=
non_interactive
=
$EPM_AUTO
download
=
download_only
=
interactive
=
force_yes
=
...
...
@@ -469,7 +470,10 @@ check_option()
--noscripts
)
# HELPOPT: disable scripts in install packages
noscripts
=
"--noscripts"
;;
--download-only
)
# HELPOPT: download only the package
--save-only
)
# HELPOPT: save the package/tarball after all convertations (instead of install it)
save_only
=
"--save-only"
;;
--download-only
)
# HELPOPT: download only the package/tarball (before any convertation)
download_only
=
"--download-only"
;;
--sort
)
# HELPOPT: sort output, f.i. --sort=size (supported only for packages command)
...
...
@@ -549,7 +553,7 @@ if [ -n "$quiet" ] ; then
fi
# fill
export
EPM_OPTIONS
=
"
$nodeps
$
direct
$force
$verbose
$quiet
$non_interactive
$download_only
"
export
EPM_OPTIONS
=
"
$nodeps
$
force
$verbose
$quiet
$non_interactive
$save_only
$download_only
"
# if input is not console and run script from file, get pkgs from stdin too
if
[
!
-n
"
$inscript
"
]
&&
!
inputisatty
&&
[
-n
"
$PROGDIR
"
]
;
then
...
...
bin/epm-install
View file @
893bbd63
...
...
@@ -326,7 +326,7 @@ epm_install_files()
files
=
"
$repacked_pkgs
"
fi
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
cp
-v
$files
"
$EPMCURDIR
"
return
...
...
@@ -382,7 +382,7 @@ epm_install_files()
#__epm_remove_tmp_files
fi
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
cp
-v
$files
"
$EPMCURDIR
"
return
...
...
@@ -437,7 +437,7 @@ epm_install_files()
#__epm_remove_tmp_files
fi
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
cp
-v
$files
"
$EPMCURDIR
"
return
...
...
@@ -482,8 +482,8 @@ epm_install_files()
esac
# check
download
_only before commands without repack supporting
if
[
-n
"
$
download
_only
"
]
;
then
# check
save
_only before commands without repack supporting
if
[
-n
"
$
save
_only
"
]
;
then
echo
cp
-v
$files
"
$EPMCURDIR
"
return
...
...
@@ -733,7 +733,7 @@ epm_install()
epm_install_names
$names
||
return
# save files before install and repack
if
[
-n
"
$d
irect
"
]
&&
[
-n
"
$d
ownload_only
"
]
;
then
if
[
-n
"
$download_only
"
]
;
then
echo
cp
-v
$files
"
$EPMCURDIR
"
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