Commit 5e97c2b8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-release_upgrade: install systemd-settings-disable-kill-user-processes only if missed

parent 4414c52f
...@@ -56,7 +56,9 @@ assure_safe_run() ...@@ -56,7 +56,9 @@ assure_safe_run()
if [ -n "$force" ] ; then if [ -n "$force" ] ; then
warning "You force runnning even if systemd-logind kills screen on disconnect" warning "You force runnning even if systemd-logind kills screen on disconnect"
else else
docmd epm install systemd-settings-disable-kill-user-processes || fatal "Can't install the package above. Fix it or run with --force." if ! epm installed systemd-settings-disable-kill-user-processes ; then
docmd epm install systemd-settings-disable-kill-user-processes || fatal "Can't install the package above. Fix it or run with --force."
fi
# commented, will kick off the user from the system (ALT issue 50580) # commented, will kick off the user from the system (ALT issue 50580)
#docmd serv systemd-logind restart || fatal "Can't restart systemd-logind service. Fix it or run with --force." #docmd serv systemd-logind restart || fatal "Can't restart systemd-logind service. Fix it or run with --force."
fatal "Now you need relogin to the system. In this session your screen still will be killed." fatal "Now you need relogin to the system. In this session your screen still will be killed."
......
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