summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-xperl-install/standalone/finish-install7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index d715e8c8d..c8cd43096 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -149,8 +149,11 @@ sub ask_users() {
set_authentication($superuser) or goto &ask_users;
}
any::add_users($users, $authentication);
- any::set_autologin($in->do_pkgs, $users->[0]{name}, $autologin_first)
- if $autologin_first;
+ if ($autologin_first) {
+ $autologin->{user} = $users->[0]{name};
+ $autologin->{desktop} = $autologin_first;
+ any::set_autologin($in->do_pkgs, $autologin);
+ }
my $finit_conf = "/etc/finit.conf";
substInFile {
s/^user .*//;