Commit 435a96a5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm install: use --replacepkgs with --force to prevent rpm duplicates

parent 2a8c7638
...@@ -434,7 +434,8 @@ __epm_if_command_path() ...@@ -434,7 +434,8 @@ __epm_if_command_path()
__epm_get_replacepkgs() __epm_get_replacepkgs()
{ {
[ -n "$2" ] && echo '--replacepkgs' && return [ -n "$2" ] && echo '--replacepkgs' && return
# don't use --replacepkgs when install only one file # always use --replacepkgs with --force to avoid duplicates (rpm bug with same NEVR)
[ -n "$force" ] && echo '--replacepkgs' && return
} }
epm_install_files() epm_install_files()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment