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
Show 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=
...
@@ -102,6 +102,7 @@ short=
direct
=
direct
=
sort
=
sort
=
non_interactive
=
$EPM_AUTO
non_interactive
=
$EPM_AUTO
download
=
download_only
=
download_only
=
interactive
=
interactive
=
force_yes
=
force_yes
=
...
@@ -469,7 +470,10 @@ check_option()
...
@@ -469,7 +470,10 @@ 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
--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"
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)
...
@@ -549,7 +553,7 @@ if [ -n "$quiet" ] ; then
...
@@ -549,7 +553,7 @@ if [ -n "$quiet" ] ; then
fi
fi
# fill
# 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 input is not console and run script from file, get pkgs from stdin too
if
[
!
-n
"
$inscript
"
]
&&
!
inputisatty
&&
[
-n
"
$PROGDIR
"
]
;
then
if
[
!
-n
"
$inscript
"
]
&&
!
inputisatty
&&
[
-n
"
$PROGDIR
"
]
;
then
...
...
bin/epm-install
View file @
893bbd63
...
@@ -326,7 +326,7 @@ epm_install_files()
...
@@ -326,7 +326,7 @@ epm_install_files()
files
=
"
$repacked_pkgs
"
files
=
"
$repacked_pkgs
"
fi
fi
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
echo
cp
-v
$files
"
$EPMCURDIR
"
cp
-v
$files
"
$EPMCURDIR
"
return
return
...
@@ -382,7 +382,7 @@ epm_install_files()
...
@@ -382,7 +382,7 @@ epm_install_files()
#__epm_remove_tmp_files
#__epm_remove_tmp_files
fi
fi
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
echo
cp
-v
$files
"
$EPMCURDIR
"
cp
-v
$files
"
$EPMCURDIR
"
return
return
...
@@ -437,7 +437,7 @@ epm_install_files()
...
@@ -437,7 +437,7 @@ epm_install_files()
#__epm_remove_tmp_files
#__epm_remove_tmp_files
fi
fi
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
echo
cp
-v
$files
"
$EPMCURDIR
"
cp
-v
$files
"
$EPMCURDIR
"
return
return
...
@@ -482,8 +482,8 @@ epm_install_files()
...
@@ -482,8 +482,8 @@ epm_install_files()
esac
esac
# check
download
_only before commands without repack supporting
# check
save
_only before commands without repack supporting
if
[
-n
"
$
download
_only
"
]
;
then
if
[
-n
"
$
save
_only
"
]
;
then
echo
echo
cp
-v
$files
"
$EPMCURDIR
"
cp
-v
$files
"
$EPMCURDIR
"
return
return
...
@@ -733,7 +733,7 @@ epm_install()
...
@@ -733,7 +733,7 @@ epm_install()
epm_install_names
$names
||
return
epm_install_names
$names
||
return
# save files before install and repack
# save files before install and repack
if
[
-n
"
$d
irect
"
]
&&
[
-n
"
$d
ownload_only
"
]
;
then
if
[
-n
"
$download_only
"
]
;
then
echo
echo
cp
-v
$files
"
$EPMCURDIR
"
cp
-v
$files
"
$EPMCURDIR
"
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