aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-10-04 08:10:02 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-10-04 08:10:02 +0200
commit4817bf2e514ea11fb42e1cbdc3f0875cfcb2619b (patch)
treeb7d40732b6af764bfba0b072dd222da9456fc888 /lib
parentadd1adb66f8068beac48cd0ceb978a38da93909d (diff)
downloadiurt-4817bf2e514ea11fb42e1cbdc3f0875cfcb2619b.tar
iurt-4817bf2e514ea11fb42e1cbdc3f0875cfcb2619b.tar.gz
iurt-4817bf2e514ea11fb42e1cbdc3f0875cfcb2619b.tar.bz2
iurt-4817bf2e514ea11fb42e1cbdc3f0875cfcb2619b.tar.xz
iurt-4817bf2e514ea11fb42e1cbdc3f0875cfcb2619b.zip
(install_packages) kill unused arg
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm1
-rw-r--r--lib/Iurt/Urpmi.pm2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index ea26655..0d23fe0 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -425,7 +425,6 @@ sub build_chroot {
"chroot",
$tmp_chroot,
$run->{local_spool},
- {},
'initialize',
"[ADMIN] creation of initial chroot failed on $run->{my_arch}",
{ maintainer => $config->{admin} },
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index d5d7434..8e69c23 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -385,7 +385,7 @@ sub _install_callback {
}
sub install_packages {
- my ($self, $title, $chroot_tmp, $local_spool, $pack_provide, $log, $error, $opt, @packages) = @_;
+ my ($self, $title, $chroot_tmp, $local_spool, $log, $error, $opt, @packages) = @_;
my $run = $self->{run};
my $config = $self->{config};