summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-27 17:31:42 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-27 17:31:42 +0000
commit7fd7906c7a8b00fcc88a6a4ea848406273d349e5 (patch)
tree722dff832c8290cf9c2fefbf53e06fec8d34347a
parente27d35e31f7141ea80e1375104c574cf2a13db0b (diff)
downloaddrakx-7fd7906c7a8b00fcc88a6a4ea848406273d349e5.tar
drakx-7fd7906c7a8b00fcc88a6a4ea848406273d349e5.tar.gz
drakx-7fd7906c7a8b00fcc88a6a4ea848406273d349e5.tar.bz2
drakx-7fd7906c7a8b00fcc88a6a4ea848406273d349e5.tar.xz
drakx-7fd7906c7a8b00fcc88a6a4ea848406273d349e5.zip
declare autologin_first
-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 2fa557e3f..d45750f7b 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -114,7 +114,7 @@ sub ask_users() {
$users->[0]{home} ||= '/home/' . $users->[0]{name};
}
my $autologin = any::get_autologin();
- $autologin_first = ($autologin->{autologin} eq $old_user || lc(get_conf('USER_AUTOLOGIN_FIRST')) eq "yes") && $autologin->{desktop};
+ my $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;