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
8e2c96a2
Commit
8e2c96a2
authored
Feb 16, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add env EPM_OPTIONS support
parent
dfc3fe84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
epm
bin/epm
+8
-0
epm-repack
bin/epm-repack
+2
-2
No files found.
bin/epm
View file @
8e2c96a2
...
...
@@ -440,6 +440,11 @@ check_filenames()
done
}
# handle external EPM_OPTIONS
for
opt
in
$EPM_OPTIONS
;
do
check_option
"
$opt
"
done
FLAGENDOPTS
=
for
opt
in
"
$@
"
;
do
[
"
$opt
"
=
"--"
]
&&
FLAGENDOPTS
=
1
&&
continue
...
...
@@ -451,6 +456,9 @@ for opt in "$@" ; do
check_filenames
"
$opt
"
done
# fill
export
EPM_OPTIONS
=
"
$nodeps
$force
$non_interactive
"
# if input is not console and run script from file, get pkgs from stdin too
if
[
!
-n
"
$inscript
"
]
&&
!
inputisatty
&&
[
-n
"
$PROGDIR
"
]
;
then
for
opt
in
$(
withtimeout 10
cat
)
;
do
...
...
bin/epm-repack
View file @
8e2c96a2
...
...
@@ -80,7 +80,7 @@ __epm_check_if_try_install_rpm()
__epm_repack_rpm_to_deb
$split_replaced_pkgs
# TODO: move to install
docmd epm
install
$
force
$nodeps
$
repacked_debs
docmd epm
install
$repacked_debs
return
0
}
...
...
@@ -250,7 +250,7 @@ __epm_check_if_try_install_deb()
__epm_repack_to_rpm
$split_replaced_pkgs
||
fatal
# TODO: move to install
docmd epm
install
$
force
$nodeps
$
repacked_rpms
docmd epm
install
$repacked_rpms
# TODO: move it to exit handler
if
[
-z
"
$DEBUG
"
]
;
then
...
...
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