summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/any.pm2
-rw-r--r--perl-install/install_steps.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 5acef5e5a..45af4d0c3 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -492,7 +492,7 @@ sub set_autologin {
log::l("cat $::prefix/etc/sysconfig/desktop ($desktop):\n", cat_("$::prefix/etc/sysconfig/desktop"));
}
my $xdm_autologin_cfg = "$::prefix/etc/sysconfig/autologin";
- if (member($desktop, 'KDE', 'Gnome')) {
+ if (member($desktop, 'KDE', 'GNOME')) {
unlink $xdm_autologin_cfg;
} else {
setVarsInShMode($xdm_autologin_cfg, 0644,
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 932ae8408..a4ab012fa 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -837,7 +837,7 @@ sub addUser {
if ($o->{autologin}) {
$o->{desktop} ||= first(any::sessions());
- $o->pkg_install("autologin") if !member($o->{desktop}, 'KDE', 'Gnome');
+ $o->pkg_install("autologin") if !member($o->{desktop}, 'KDE', 'GNOME');
}
any::set_autologin($o->{autologin}, $o->{desktop});