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
625f5ffd
Commit
625f5ffd
authored
Apr 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm install: improve --noscripts workaround.
parent
655ba484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
epm-install
bin/epm-install
+7
-1
No files found.
bin/epm-install
View file @
625f5ffd
...
...
@@ -380,8 +380,14 @@ epm_install_files()
if
[
-n
"
$noscripts
"
]
;
then
info
"Workaround for install packages via apt with --noscripts (see https://bugzilla.altlinux.org/44670)"
info
"Firstly install package requrements …"
# names of packages to be installed
local
fl
=
"
$(
epm print name
for
package
$files
)
"
local
req
=
"
$(
docmd epm req
--short
$files
)
"
||
return
# exclude package names from requires (req - fl)
req
=
"
$(
estrlist exclude
"
$fl
"
"
$req
"
)
"
# TODO: can we install only requires via apt?
epm
install
$(
epm req
--short
$files
)
||
return
docmd epm
install
$req
||
return
# retry with rpm
# --replacepkgs: Install the Package Even If Already Installed
local
replacepkgs
=
"
$(
__epm_get_replacepkgs
$files
)
"
...
...
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