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
feda0cd9
Commit
feda0cd9
authored
Jul 21, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: use apt-get install as fallback when install files with dpkg
parent
babe5c3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
epm-install
bin/epm-install
+12
-4
No files found.
bin/epm-install
View file @
feda0cd9
...
...
@@ -343,12 +343,20 @@ epm_install_files()
# FIXME: return false in case no install and in case install with broken deps
sudocmd dpkg
$DPKGOPTIONS
-i
$@
local
RES
=
$?
# if run with --nodeps, do not fallback on hi level
# if run with --nodeps, do not fallback on hi level in any case
[
-n
"
$nodeps
"
]
&&
return
$RES
# fall to apt-get -f install for fix deps
# can't use APTOPTIONS with empty install args
epm_install_names
-f
# return OK if all is OK
[
"
$RES
"
=
"0"
]
&&
return
$RES
epm_install_names
"
$@
"
return
# TODO: workaround with epm-check needed only for very old apt
# run apt -f install if there are were some errors during install
load_helper epm-check
epm_check
# repeat install for get correct status
sudocmd dpkg
$DPKGOPTIONS
-i
$@
...
...
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