summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
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,
);