Commit baa9259d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-release_upgrade: add switch from prefdm to display-manager after upgrade (see altbug #26405)

parent e7953afd
......@@ -182,6 +182,16 @@ __check_system()
if is_active_systemd systemd ; then
docmd epm --skip-installed install systemd || fatal
fi
# switch from prefdm: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c52
if is_active_systemd systemd && serv display-manager status >/dev/null || serv prefdm status >/dev/null ; then
docmd systemctl disable prefdm.service
docmd systemctl disable display-manager.service
docmd systemctl enable display-manager.service
# docmd systemctl enable sddm.service
# docmd systemctl enable lightdm.service
fi
}
__epm_ru_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