diff options
-rw-r--r-- | perl-install/install/any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index f89a05477..9333c708c 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -321,6 +321,7 @@ sub setPackages { $o->{packages} = install::pkgs::empty_packages($o->{keep_unrequested_dependencies}); my $media = $o->{media} || [ { type => 'media_cfg', url => 'drakx://media' } ]; + my ($suppl_method, $copy_rpms_on_disk); { my @errors; @@ -328,7 +329,7 @@ sub setPackages { log::l("urpmi error: $_[0]"); push @errors, @_; }; - my ($suppl_method, $copy_rpms_on_disk) = install::media::get_media($o, $media, $o->{packages}); + ($suppl_method, $copy_rpms_on_disk) = install::media::get_media($o, $media, $o->{packages}); if ($suppl_method) { 1 while $o->selectSupplMedia; |