diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-01 17:34:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-01 17:34:00 +0000 |
commit | 77ce8b800cbcff3117f458aefdbc1e23c24d727d (patch) | |
tree | 449e36ead6aff6ea73a4c1c57945cd253e64d6e9 | |
parent | dd25fbace8227acdff2bfaeebec13e1c456e46af (diff) | |
download | drakx-77ce8b800cbcff3117f458aefdbc1e23c24d727d.tar drakx-77ce8b800cbcff3117f458aefdbc1e23c24d727d.tar.gz drakx-77ce8b800cbcff3117f458aefdbc1e23c24d727d.tar.bz2 drakx-77ce8b800cbcff3117f458aefdbc1e23c24d727d.tar.xz drakx-77ce8b800cbcff3117f458aefdbc1e23c24d727d.zip |
chksession gives GNOME for gnome, not Gnome
-rw-r--r-- | perl-install/any.pm | 2 | ||||
-rw-r--r-- | perl-install/install_steps.pm | 2 |
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}); |