Commit 2209b095 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-release_upgrade: run epm fix if epm upgrade is failed

parent a45b1bc8
......@@ -303,7 +303,10 @@ get_next_release()
__do_upgrade()
{
docmd epm $non_interactive $force_yes upgrade || fatal "Check the errors and run '# $0' again"
docmd epm $non_interactive $force_yes upgrade && return
docmd epm $non_interactive $force_yes fix
docmd epm $non_interactive $force_yes upgrade && return
fatal "Check the errors and run '# $0' after fix."
}
# TODO: install new conf without signs?
......
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