summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-11-29 12:31:24 +0000
committerFrancois Pons <fpons@mandriva.com>2002-11-29 12:31:24 +0000
commit5443ef24e434a6635f086d491c9c0e86dfec68bd (patch)
tree6bb1ab47df25fe77455243e6d34450d3f6b1cfdb /urpmi.addmedia
parent535f899cc9098478cc5459fc35b6a9355ab68236 (diff)
downloadurpmi-5443ef24e434a6635f086d491c9c0e86dfec68bd.tar
urpmi-5443ef24e434a6635f086d491c9c0e86dfec68bd.tar.gz
urpmi-5443ef24e434a6635f086d491c9c0e86dfec68bd.tar.bz2
urpmi-5443ef24e434a6635f086d491c9c0e86dfec68bd.tar.xz
urpmi-5443ef24e434a6635f086d491c9c0e86dfec68bd.zip
4.1-4mdk
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;
}