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
7292e302
Commit
7292e302
authored
Feb 05, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: fall to standalone apt install for fix deps
parent
1f554efb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
epm-install
bin/epm-install
+10
-6
No files found.
bin/epm-install
View file @
7292e302
...
...
@@ -55,13 +55,13 @@ epm_install_names()
[
-z
"
$1
"
]
&&
return
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
sudocmd apt-get
install
$@
sudocmd apt-get
$APTOPTIONS
install
$@
return
;;
deepsolver-rpm
)
sudocmd ds-install
$@
return
;;
urpm-rpm
)
sudocmd urpmi
$@
sudocmd urpmi
$
URPMOPTIONS
$
@
return
;;
pkg_add
)
sudocmd pkg_add
-r
$@
...
...
@@ -79,7 +79,7 @@ epm_install_names()
sudocmd dnf
install
$@
return
;;
zypper-rpm
)
sudocmd zypper
install
$@
sudocmd zypper
install
$
ZYPPEROPTIONS
$
@
return
;;
mpkg
)
sudocmd mpkg
install
$@
...
...
@@ -100,7 +100,7 @@ epm_ni_install_names()
[
-z
"
$1
"
]
&&
return
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
sudocmd apt-get
-y
--force-yes
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
install
$@
sudocmd apt-get
-y
--force-yes
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
$APTOPTIONS
install
$@
return
;;
yum-rpm
)
sudocmd yum
-y
$YUMOPTIONS
install
$@
...
...
@@ -154,8 +154,12 @@ epm_install_files()
DPKGOPTIONS
=
"--force-confdef --force-confold"
fi
sudocmd dpkg
$DPKGOPTIONS
-i
$@
sudocmd apt-get
-f
install
return
;;
# if run with --nodeps, do not fallback on hi level
[
-n
"
$nodeps
"
]
&&
return
# fall to apt-get -f install for fix deps
APTOPTIONS
=
"-f"
;;
yum-rpm|dnf-rpm
)
sudocmd rpm
-Uvh
$force
$nodeps
$@
&&
return
# if run with --nodeps, do not fallback on hi level
...
...
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