summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index aee62216..72d4d043 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -150,7 +150,7 @@ and [options] are from
$urpm->add_medium("$name$i",
$options{distrib} eq 'updates' ? "$burl/$options{version}/RPMS" :
$options{distrib} eq 'contrib' ? $burl."2" : $burl,
- $options{distrib} eq 'contrib' ? '../base/hdlist2.cz' : $relative_hdlist,
+ $options{distrib} ne 'contrib' && $relative_hdlist,
update => $options{update});
++$i;
}