installer.kmdr: fix desktop session check on reboot for KDE when DESKTOP_SESSION returns default
This commit is contained in:
parent
7b63c05b37
commit
007cfe7864
@ -3464,7 +3464,7 @@ fi
|
||||
<stringlist>
|
||||
<string>if [ "$DESKTOP_SESSION" == "gnome" ]; then
|
||||
gnome-session-save --shutdown-dialog
|
||||
elif [ "${DESKTOP_SESSION:0:3}" == "kde" -a -x /usr/bin/qdbus ]; then
|
||||
elif [ "${DESKTOP_SESSION:0:3}" == "kde" -o "${KDE_FULL_SESSION}" == "true" ]; then
|
||||
/usr/bin/qdbus org.kde.ksmserver /KSMServer logout 0 1 2
|
||||
elif [ "${DESKTOP_SESSION:0:3}" == "kde" ]; then
|
||||
dcop ksmserver ksmserver logout 0 1 1
|
||||
|
Loading…
Reference in New Issue
Block a user