From a3b1d0f3898bd2d2fce7b8e332835d56904e95b2 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 2 Dec 2004 10:18:12 +0000 Subject: Renumeroting new media is irrelevant when a distro name is provided --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ); -- cgit v1.2.1