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
c01029e0
Commit
c01029e0
authored
Feb 02, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: fallback from low level to hi level install (fix file packages install on Fedora)
parent
36dac0e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
epm-install
bin/epm-install
+16
-11
No files found.
bin/epm-install
View file @
c01029e0
...
...
@@ -73,7 +73,7 @@ epm_install_names()
sudocmd pacman
-S
$@
return
;;
yum-rpm
)
sudocmd yum
install
$@
sudocmd yum
$YUMOPTIONS
install
$@
return
;;
dnf-rpm
)
sudocmd dnf
install
$@
...
...
@@ -103,10 +103,10 @@ epm_ni_install_names()
sudocmd apt-get
-y
--force-yes
install
$@
return
;;
yum-rpm
)
sudocmd yum
-y
install
$@
sudocmd yum
-y
$YUMOPTIONS
install
$@
return
;;
urpm-rpm
)
sudocmd urpmi
--auto
--no-verify-rpm
$@
sudocmd urpmi
--auto
$URPMOPTIONS
$@
return
;;
zypper-rpm
)
yes
| sudocmd zypper
--non-interactive
install
$@
...
...
@@ -143,22 +143,27 @@ epm_install_files()
sudocmd rpm
-Uvh
$force
$nodeps
$@
&&
return
# if run with --nodeps, do not fallback on hi level
[
-n
"
$nodeps
"
]
&&
return
# use install_names
;;
apt-dpkg
)
sudocmd dpkg
-i
$@
sudocmd apt-get
-f
install
return
;;
yum-rpm
)
sudocmd rpm
-Uvh
$force
$@
&&
return
sudocmd yum
--nogpgcheck
install
$@
return
;;
dnf-rpm
)
sudocmd rpm
-Uvh
$force
$@
&&
return
sudocmd dnf
install
$@
return
;;
yum-rpm
|dnf-rpm
)
sudocmd rpm
-Uvh
$force
$
nodeps
$
@
&&
return
# if run with --nodeps, do not fallback on hi level
[
-n
"
$nodeps
"
]
&&
return
YUMOPTIONS
=
--nogpgcheck
# use install_names
;;
urpm-rpm
)
sudocmd rpm
-Uvh
$force
$nodeps
$@
&&
return
# if run with --nodeps, do not fallback on hi level
[
-n
"
$nodeps
"
]
&&
return
URPMOPTIONS
=
--no-verify-rpm
# use install_names
;;
pkg_add
)
...
...
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