From 4d01ff982409361376af2a6227e4e109a832200c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 12 Jun 2014 16:01:24 +0200 Subject: simplify after commit cfc5075fdd3effdb0617e98133cf08e6fbdceef7 this code is install specific... --- perl-install/install/steps_interactive.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'perl-install/install') diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 25e365e8b..ca552ff14 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -862,11 +862,9 @@ sub summary { label => N("User management"), clicked => sub { if (my $u = any::ask_user($o, $o->{users}, $o->{security}, needauser => 1)) { - if ($::prefix) { - #- getpwnam, getgrnam, getgrid works - symlinkf("$::prefix/etc/passwd", '/etc/passwd'); - symlinkf("$::prefix/etc/group", '/etc/group'); - } + #- getpwnam, getgrnam, getgrid works + symlinkf("$::prefix/etc/passwd", '/etc/passwd'); + symlinkf("$::prefix/etc/group", '/etc/group'); any::add_users([$u], $o->{authentication}); } }, -- cgit v1.2.1