Commit 007cfe7864e8920dbecbd6c12f85c5722131f638

Authored by Silvan Calarco
1 parent 7b63c05b37
Exists in master and in 1 other branch milestone2

installer.kmdr: fix desktop session check on reboot for KDE when DESKTOP_SESSION returns default

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

installer/installer.kmdr
... ... @@ -3464,7 +3464,7 @@
3464 3464 <stringlist>
3465 3465 <string>if [ "$DESKTOP_SESSION" == "gnome" ]; then
3466 3466 gnome-session-save --shutdown-dialog
3467   -elif [ "${DESKTOP_SESSION:0:3}" == "kde" -a -x /usr/bin/qdbus ]; then
  3467 +elif [ "${DESKTOP_SESSION:0:3}" == "kde" -o "${KDE_FULL_SESSION}" == "true" ]; then
3468 3468 /usr/bin/qdbus org.kde.ksmserver /KSMServer logout 0 1 2
3469 3469 elif [ "${DESKTOP_SESSION:0:3}" == "kde" ]; then
3470 3470 dcop ksmserver ksmserver logout 0 1 1