summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-17 17:53:00 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-17 17:53:00 +0000
commit974f2aad452874ba456eb2815c40b5bd409a9d4c (patch)
treec7688aaf63db574520764f8f99779fe0872f8fb1 /urpm.pm
parent00dc250f56d3e8fc22cbee7f9e18d9b725c543b9 (diff)
downloadurpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar
urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar.gz
urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar.bz2
urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.tar.xz
urpmi-974f2aad452874ba456eb2815c40b5bd409a9d4c.zip
fixed silly bug or sorting list file.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 3d9a3961..f26ad019 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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}\"");