aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:54:10 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:54:10 +0000
commit914965c2942201048f37b5fecadf65660024da5c (patch)
treef44777ef3f34078d0e79138dbfc1d74bd0edaa4d /iurt2
parent5af33573e3233cde8b3e421a322409b035f18832 (diff)
downloadiurt-914965c2942201048f37b5fecadf65660024da5c.tar
iurt-914965c2942201048f37b5fecadf65660024da5c.tar.gz
iurt-914965c2942201048f37b5fecadf65660024da5c.tar.bz2
iurt-914965c2942201048f37b5fecadf65660024da5c.tar.xz
iurt-914965c2942201048f37b5fecadf65660024da5c.zip
(urpmi_command) kill unused arg
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt24
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index f17100c..74acffc 100755
--- a/iurt2
+++ b/iurt2
@@ -742,7 +742,7 @@ if ($run{shell}) {
add_local_user($chroot_tmp, \%run, $config, $luser, $run{uid}) or die "FATAL $program_name: could not add local user";
#$urpmi->set_command($chroot_tmp);
- $urpmi->urpmi_command($chroot_tmp, $luser);
+ $urpmi->urpmi_command($chroot_tmp);
$urpmi->install_packages('chroot', $chroot_tmp, $local_spool, \%pack_provide, 'configure', "[ADMIN] installation of urpmi and sudo failed in the chroot $run{my_arch}", { check => 1, maintainer => $config->{admin} }, 'urpmi', 'sudo') or die "FATAL $program_name: could not add urpmi and sudo in the chroot";
add_sudoers($chroot_tmp, $luser);
@@ -838,7 +838,7 @@ retry:
$chroot_tmp, $chroot_tar) or next;
}
- if (!$urpmi->urpmi_command($chroot_tmp, $luser)) {
+ if (!$urpmi->urpmi_command($chroot_tmp)) {
plog('DEBUG', "Creating chroot failed.\nCommand was: $chroot_tmp");
next;
}