diff options
author | Frédéric Buclin <LpSolit@netscape.net> | 2017-03-06 00:31:55 +0100 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-03-06 08:28:40 +0100 |
commit | dd985ad2d5d8743e33507017b23100a43876d5d0 (patch) | |
tree | 61b679ac7d26efff8493bfafb1e5aa1c2bdeaa7e /perl-install/any.pm | |
parent | 120c6fe89a82bf9ed36d813d7476ae683a0598f6 (diff) | |
download | drakx-dd985ad2d5d8743e33507017b23100a43876d5d0.tar drakx-dd985ad2d5d8743e33507017b23100a43876d5d0.tar.gz drakx-dd985ad2d5d8743e33507017b23100a43876d5d0.tar.bz2 drakx-dd985ad2d5d8743e33507017b23100a43876d5d0.tar.xz drakx-dd985ad2d5d8743e33507017b23100a43876d5d0.zip |
Make sure to leave Session empty in sddm.conf if no desktop is selected (mga#19234)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index db190f19b..75dd72204 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -675,7 +675,7 @@ sub adapt_desktop_for_plasma { 'Plasma' => '01plasma', 'GNOMEClassic' => 'gnome-classic', ); - $h{$desktop} ? $h{$desktop} . '.desktop' : lc("${desktop}.desktop"); + return $desktop ? ($h{$desktop} || lc($desktop)) . '.desktop' : ''; } sub get_autologin() { |