diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-26 18:21:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-26 18:21:13 +0000 |
commit | 2d8eaaff124edd29fdc409147f4191b0a8045317 (patch) | |
tree | 5512308dcde5303bbe5928e2a70d806a1003c1e4 /lib/Iurt | |
parent | 11758856a710b653da90f798c22d7f5e98125fc0 (diff) | |
download | iurt-2d8eaaff124edd29fdc409147f4191b0a8045317.tar iurt-2d8eaaff124edd29fdc409147f4191b0a8045317.tar.gz iurt-2d8eaaff124edd29fdc409147f4191b0a8045317.tar.bz2 iurt-2d8eaaff124edd29fdc409147f4191b0a8045317.tar.xz iurt-2d8eaaff124edd29fdc409147f4191b0a8045317.zip |
(install_packages) reduce a variable scope
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Urpmi.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 7528623..99eded4 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -419,7 +419,6 @@ sub are_installed { sub install_packages { my ($self, $title, $chroot_tmp, $local_spool, $pack_provide, $log, $error, $opt, @packages) = @_; - my $maintainer = $opt->{maintainer}; my $run = $self->{run}; my $config = $self->{config}; my $cache = $run->{cache}; @@ -516,6 +515,7 @@ sub install_packages { plog('FAIL', "missing dep: $missing_deps ($other_maint) missing_package $missing_package ($first_maint)"); $run->{status}{$title} = 'missing_dep'; + my $maintainer = $opt->{maintainer}; $opt->{mail} = $maintainer || $config->{admin}; # remember what is needed, and do not try to |