diff options
author | Francois Pons <fpons@mandriva.com> | 2002-11-28 21:52:42 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-11-28 21:52:42 +0000 |
commit | 535f899cc9098478cc5459fc35b6a9355ab68236 (patch) | |
tree | 5a71bc6670594c2324ef14fa6f2066101eb52806 /urpmi.addmedia | |
parent | 1867eece3140beb368fa945f69aa01bb3d93fbae (diff) | |
download | urpmi-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-x | urpmi.addmedia | 2 |
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; } |