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 72d4d043..edbc5a46 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} ne 'contrib' && $relative_hdlist,
+ ($options{distrib} ne 'contrib' || $options{version} ne 'cooker') && $relative_hdlist,
update => $options{update});
++$i;
}