summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
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() {