diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-17 17:53:00 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-17 17:53:00 +0000 |
commit | 974f2aad452874ba456eb2815c40b5bd409a9d4c (patch) | |
tree | c7688aaf63db574520764f8f99779fe0872f8fb1 | |
parent | 00dc250f56d3e8fc22cbee7f9e18d9b725c543b9 (diff) | |
download | urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar.gz urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar.bz2 urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar.xz urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.zip |
fixed silly bug or sorting list file.
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -530,7 +530,7 @@ sub update_media { local (*F, $_); open F, "parsehdlist '$urpm->{cachedir}/partial/$medium->{hdlist}' |"; while (<F>) { - /\/([^\/]*)-[^-\/]*-[^-\/]*\.[^\/]*\.rpm/; + /^([^\/]*)-[^-\/]*-[^-\/]*\.[^\/]*\.rpm/; $list{"$medium->{url}/$_"} = ($urpm->{params}{info}{$1} || { id => 1000000000 })->{id}; } close F or $error = 1, $urpm->{error}("unable to parse hdlist file of \"$medium->{name}\""); |