summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-06-11 17:28:57 +0000
committerOlivier Blin <oblin@mandriva.com>2010-06-11 17:28:57 +0000
commit06c1baaa86d480ad77b8e3aee36ce16986f7bf6a (patch)
treee5044db7600e57ae5d69c9b7a7c70d1b7f72c1bc /perl-install/install
parent9f8506d6b533f5cbf0a87867003d192385541981 (diff)
downloaddrakx-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')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/media.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b341629bc..7c30497f6 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,7 @@
- user management: focus on first entry in dialog, root password if
superuser is asked, user real name otherwise (#54910)
+- auto_install: when distrib media contains selected_names list, apply
+ it only to the concerned media, and not to previously added media
Version 13.33 - 4 June 2010
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});