summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-11-28 21:52:42 +0000
committerFrancois Pons <fpons@mandriva.com>2002-11-28 21:52:42 +0000
commit535f899cc9098478cc5459fc35b6a9355ab68236 (patch)
tree5a71bc6670594c2324ef14fa6f2066101eb52806 /urpmi.addmedia
parent1867eece3140beb368fa945f69aa01bb3d93fbae (diff)
downloadurpmi-535f899cc9098478cc5459fc35b6a9355ab68236.tar
urpmi-535f899cc9098478cc5459fc35b6a9355ab68236.tar.gz
urpmi-535f899cc9098478cc5459fc35b6a9355ab68236.tar.bz2
urpmi-535f899cc9098478cc5459fc35b6a9355ab68236.tar.xz
urpmi-535f899cc9098478cc5459fc35b6a9355ab68236.zip
refer to guess for contrib type media when adding using --distrib-contrib.
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;
}