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
f90f7598
Commit
f90f7598
authored
Dec 05, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install-apt-dpkg: use dpkg directly when --force-overwrite
parent
a9b2fe48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
epm-install-apt-dpkg
bin/epm-install-apt-dpkg
+5
-5
No files found.
bin/epm-install-apt-dpkg
View file @
f90f7598
...
...
@@ -32,10 +32,6 @@ epm_install_files_apt_dpkg()
files
=
"
$repacked_pkgs
"
fi
if
[
-n
"
$force_overwrite
"
]
;
then
DPKGOPTIONS
=
"
$DPKGOPTIONS
--force-overwrite"
fi
if
[
-n
"
$save_only
"
]
;
then
echo
cp
-v
$files
"
$EPMCURDIR
"
...
...
@@ -51,7 +47,11 @@ epm_install_files_apt_dpkg()
# TODO: if dpkg can't install due missed deps, trying with apt (as for now, --refuse-depends, --refuse-breaks don't help me)
if
[
-n
"
$nodeps
"
]
;
then
if
[
-n
"
$force_overwrite
"
]
;
then
DPKGOPTIONS
=
"
$DPKGOPTIONS
--force-overwrite"
fi
if
[
-n
"
$nodeps
"
]
||
[
-n
"
$force_overwrite
"
]
;
then
sudocmd dpkg
$DPKGOPTIONS
-i
$files
return
fi
...
...
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