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
Nurlan
eepm
Commits
87632daf
Commit
87632daf
authored
Jul 26, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: always use apt-get for install .deb file packages
parent
a0d92509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
epm-install
bin/epm-install
+13
-7
No files found.
bin/epm-install
View file @
87632daf
...
...
@@ -340,19 +340,25 @@ epm_install_files()
__epm_check_if_try_install_rpm
$@
&&
return
# FIXME: return false in case no install and in case install with broken deps
sudocmd dpkg
$DPKGOPTIONS
-i
$@
local
RES
=
$?
# TODO: if dpkg can't install due missed deps, trying with apt (as for now, --refuse-depends, --refuse-breaks don't help me)
# if run with --nodeps, do not fallback on hi level in any case
[
-n
"
$nodeps
"
]
&&
return
$RES
# return OK if all is OK
[
"
$RES
"
=
"0"
]
&&
return
$RES
if
[
-n
"
$nodeps
"
]
;
then
sudocmd dpkg
$DPKGOPTIONS
-i
$@
return
fi
# are there apt that don't support dpkg files to install?
epm_install_names
$(
make_filepath
"
$@
"
)
return
# old way:
sudocmd dpkg
$DPKGOPTIONS
-i
$@
local
RES
=
$?
# return OK if all is OK
[
"
$RES
"
=
"0"
]
&&
return
$RES
# TODO: workaround with epm-check needed only for very old apt
# run apt -f install if there are were some errors during install
...
...
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