- Fix the kscreenlocker_greet restart in %post

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kscreenlocker?expand=0&rev=85
This commit is contained in:
Fabian Vogt 2017-06-14 20:16:49 +00:00 committed by Git OBS Bridge
parent 9d6e48615b
commit c516238cd3
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 14 20:09:38 UTC 2017 - fabian@ritter-vogt.de Wed Jun 14 20:09:38 UTC 2017 - fabian@ritter-vogt.de
- Use SIGKILL for forcing greeter restart instead of SIGQUIT, - Fix the kscreenlocker_greet restart in %post
which does not seem to be enough.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 13 21:35:01 CEST 2017 - fabian@ritter-vogt.de Tue Jun 13 21:35:01 CEST 2017 - fabian@ritter-vogt.de

View File

@ -116,8 +116,8 @@ exit 0
/usr/sbin/pam-config -d --unix2 || : /usr/sbin/pam-config -d --unix2 || :
/usr/sbin/pam-config -a --unix || : /usr/sbin/pam-config -a --unix || :
/sbin/ldconfig /sbin/ldconfig
if [ $1 = 1 ] && [ -f /run/kscreenlocker_restart ]; then if [ $1 = 2 ] && [ -f /run/kscreenlocker_restart ]; then
killall -KILL kscreenlocker_greet killall -TERM kscreenlocker_greet
rm /run/kscreenlocker_restart rm /run/kscreenlocker_restart
fi fi
exit 0 exit 0