summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-06-12 16:01:24 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-06-12 16:18:52 +0200
commit4d01ff982409361376af2a6227e4e109a832200c (patch)
treeeb85b6a467f66946c0283a4ed2fe03bde684dc9d
parent3a384a0835e57d3028bbf6a393cf86db39c2545e (diff)
downloaddrakx-4d01ff982409361376af2a6227e4e109a832200c.tar
drakx-4d01ff982409361376af2a6227e4e109a832200c.tar.gz
drakx-4d01ff982409361376af2a6227e4e109a832200c.tar.bz2
drakx-4d01ff982409361376af2a6227e4e109a832200c.tar.xz
drakx-4d01ff982409361376af2a6227e4e109a832200c.zip
this code is install specific...
-rw-r--r--perl-install/install/steps_interactive.pm8
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});
}
},