Commit 49ea75f9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm upgrade: use upgrade for dnf/yum instead of distro-sync

parent 73fb4af8
......@@ -112,11 +112,11 @@ epm_upgrade()
yum-rpm)
local OPTIONS="$(subst_option non_interactive -y)"
# can do update repobase automagically
CMD="yum $OPTIONS update $*"
CMD="yum $OPTIONS upgrade $*"
;;
dnf-rpm)
local OPTIONS="$(subst_option non_interactive -y)"
CMD="dnf $OPTIONS distro-sync $*"
CMD="dnf $OPTIONS upgrade $*"
;;
snappy)
CMD="snappy update"
......
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