diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-06-12 16:01:24 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-06-12 16:18:52 +0200 |
commit | 4d01ff982409361376af2a6227e4e109a832200c (patch) | |
tree | eb85b6a467f66946c0283a4ed2fe03bde684dc9d | |
parent | 3a384a0835e57d3028bbf6a393cf86db39c2545e (diff) | |
download | drakx-4d01ff982409361376af2a6227e4e109a832200c.tar drakx-4d01ff982409361376af2a6227e4e109a832200c.tar.gz drakx-4d01ff982409361376af2a6227e4e109a832200c.tar.bz2 drakx-4d01ff982409361376af2a6227e4e109a832200c.tar.xz drakx-4d01ff982409361376af2a6227e4e109a832200c.zip |
simplify after commit cfc5075fdd3effdb0617e98133cf08e6fbdceef7
this code is install specific...
-rw-r--r-- | perl-install/install/steps_interactive.pm | 8 |
1 files changed, 3 insertions, 5 deletions
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}); } }, |