diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-06-11 17:28:57 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-06-11 17:28:57 +0000 |
commit | 06c1baaa86d480ad77b8e3aee36ce16986f7bf6a (patch) | |
tree | e5044db7600e57ae5d69c9b7a7c70d1b7f72c1bc /perl-install/install/media.pm | |
parent | 9f8506d6b533f5cbf0a87867003d192385541981 (diff) | |
download | drakx-06c1baaa86d480ad77b8e3aee36ce16986f7bf6a.tar drakx-06c1baaa86d480ad77b8e3aee36ce16986f7bf6a.tar.gz drakx-06c1baaa86d480ad77b8e3aee36ce16986f7bf6a.tar.bz2 drakx-06c1baaa86d480ad77b8e3aee36ce16986f7bf6a.tar.xz drakx-06c1baaa86d480ad77b8e3aee36ce16986f7bf6a.zip |
auto_install: when distrib media contains selected_names list, apply
it only to the concerned media, and not to previously added media
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r-- | perl-install/install/media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index b15d745c0..98ed059d1 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -672,7 +672,7 @@ sub get_media_cfg { my @new_media = difference2($packages->{media}, \@media); _associate_phys_media($o->{all_hds}, $phys_medium, \@new_media); - select_only_some_media($packages->{media}, $selected_names) if defined $selected_names; + select_only_some_media(\@new_media, $selected_names) if defined $selected_names; if ($deselectionAllowed && !@{$packages->{media}}) { my $allow = _allow_copy_rpms_on_disk($phys_medium, $packages->{media}); |