summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-01 07:28:41 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-01 07:28:41 +0000
commit9a0018962f56eb5cbe04c1b892f9bd13c860fbb3 (patch)
tree40984c097391a661c3c19e9b710b2f938bb50606
parentbf4bf09c58b06d9c3354d92bf4b66852cb0fecc3 (diff)
downloaddrakx-9a0018962f56eb5cbe04c1b892f9bd13c860fbb3.tar
drakx-9a0018962f56eb5cbe04c1b892f9bd13c860fbb3.tar.gz
drakx-9a0018962f56eb5cbe04c1b892f9bd13c860fbb3.tar.bz2
drakx-9a0018962f56eb5cbe04c1b892f9bd13c860fbb3.tar.xz
drakx-9a0018962f56eb5cbe04c1b892f9bd13c860fbb3.zip
Don't write ignored media in urpmi.cfg (bug 15537)
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index ab8091db5..91d46f12f 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1022,7 +1022,7 @@ sub install_urpmi {
my @cfg;
foreach (sort { $a->{medium} <=> $b->{medium} } @mediums) {
my $name = $_->{fakemedium};
- if ($_->ignored || $_->selected) {
+ if ($_->selected) {
my $curmethod = $_->method || $::o->{method};
my $dir = (($copied_rpms_on_disk ? "/var/ftp/pub/Mandrivalinux" : '')
|| $_->{finalprefix}