Commit 285350b0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

release-upgrade: install altlinux-release-p7 only if /etc/altlinux-release from *sisyphus* packages

parent df434217
...@@ -123,7 +123,11 @@ __update_alt_to_next_distro() ...@@ -123,7 +123,11 @@ __update_alt_to_next_distro()
;; ;;
"p7"|"p7 p8") "p7"|"p7 p8")
info "Upgrade $DISTRNAME from p7 to p8 ..." info "Upgrade $DISTRNAME from p7 to p8 ..."
docmd epm install apt-conf-branch altlinux-release-p7 || fatal local FIXRELEASEPKG=
if epmqf /etc/altlinux-release | grep -q sisyphus ; then
FIXRELEASEPKG=altlinux-release-p7
fi
docmd epm install apt-conf-branch $FIXRELEASEPKG || fatal
__replace_alt_version_in_repo p7/branch/ p8/branch/ __replace_alt_version_in_repo p7/branch/ p8/branch/
__update_to_the_distro p8 __update_to_the_distro p8
docmd epm update-kernel || fatal docmd epm update-kernel || fatal
......
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