summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-02 10:18:12 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-02 10:18:12 +0000
commita3b1d0f3898bd2d2fce7b8e332835d56904e95b2 (patch)
treed3fdc22214d70f406124fb4764f55ba1723e10e5 /urpm.pm
parentc128725aae7c884b213416d36de115edf5dae977 (diff)
downloadurpmi-a3b1d0f3898bd2d2fce7b8e332835d56904e95b2.tar
urpmi-a3b1d0f3898bd2d2fce7b8e332835d56904e95b2.tar.gz
urpmi-a3b1d0f3898bd2d2fce7b8e332835d56904e95b2.tar.bz2
urpmi-a3b1d0f3898bd2d2fce7b8e332835d56904e95b2.tar.xz
urpmi-a3b1d0f3898bd2d2fce7b8e332835d56904e95b2.zip
Renumeroting new media is irrelevant when a distro name is provided
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 48a3535e..3c82d2dd 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -751,7 +751,7 @@ sub add_distrib_media {
$name ? "$descr ($name$medium)" : $descr,
"$url/$rpmsdir",
offset_pathname($url, $rpmsdir) . "/$distrib_root/" . ($options{probe_with} eq 'synthesis' ? 'synthesis.' : '') . $hdlist,
- index_name => 0,
+ index_name => $name ? undef : 0,
%options,
);