diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-12-02 10:18:12 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-12-02 10:18:12 +0000 |
commit | a3b1d0f3898bd2d2fce7b8e332835d56904e95b2 (patch) | |
tree | d3fdc22214d70f406124fb4764f55ba1723e10e5 /urpm.pm | |
parent | c128725aae7c884b213416d36de115edf5dae977 (diff) | |
download | urpmi-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.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, ); |