summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index afc872b6b..0f58aacc8 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -228,6 +228,9 @@ sub afterInstallPackages($) {
run_program::rooted($o->{prefix}, "kudzu", "-q"); # -q <=> fermetagueuleconnard
$o->pcmciaConfig();
+
+ my $p = $o->{packages}{urpmi};
+ install_any::install_urpmi($o->{prefix}, $o->{method}) if $p && $p->{selected};
}
#------------------------------------------------------------------------------
@@ -412,6 +415,8 @@ sub addUser($) {
}
commands::chown_("-r", "$_->{uid}.$_->{gid}", "$p$_->{home}")
if $_->{uid} != $_->{oldu} || $_->{gid} != $_->{oldg};
+
+ run_program::rooted($p, "usermod", "-G", "urpmi", $_->{name}) if $o->{security} < 3;
}
}