summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-20 17:39:11 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-20 17:39:11 +0000
commit72be09561b1eb0a51048eaec1af096ddfe74aeb0 (patch)
tree03fc114c2e98b716733ec7bbfa8589e063b30d2e /perl-install
parent90009109d6c27a490e4216218317314523ab2855 (diff)
downloaddrakx-72be09561b1eb0a51048eaec1af096ddfe74aeb0.tar
drakx-72be09561b1eb0a51048eaec1af096ddfe74aeb0.tar.gz
drakx-72be09561b1eb0a51048eaec1af096ddfe74aeb0.tar.bz2
drakx-72be09561b1eb0a51048eaec1af096ddfe74aeb0.tar.xz
drakx-72be09561b1eb0a51048eaec1af096ddfe74aeb0.zip
match USER_AUTOLOGIN_FIRST value insensitively
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/finish-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index 25c8cdd7e..84bda2e53 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -109,7 +109,7 @@ sub ask_users() {
$users->[0]{home} ||= '/home/' . $users->[0]{name};
}
my $autologin = any::get_autologin();
- $autologin_first = ($autologin->{autologin} eq $old_user || get_conf('USER_AUTOLOGIN_FIRST') eq "yes") && $autologin->{desktop};
+ $autologin_first = ($autologin->{autologin} eq $old_user || lc(get_conf('USER_AUTOLOGIN_FIRST')) eq "yes") && $autologin->{desktop};
any::add_users($users, $authentication);
any::set_autologin($in->do_pkgs, $users->[0]{name}, $autologin_first)
if $autologin_first;