aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-16 16:59:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-16 16:59:57 +0000
commit73b158dde1c99156a9f02c39af25dd8bb00539c9 (patch)
treedb2cd218cb730bea5a8dc999caf61dff3a0946a6
parent75fd52ab5f000ac95ef0344fab00d70c03fed671 (diff)
downloadrpmdrake-73b158dde1c99156a9f02c39af25dd8bb00539c9.tar
rpmdrake-73b158dde1c99156a9f02c39af25dd8bb00539c9.tar.gz
rpmdrake-73b158dde1c99156a9f02c39af25dd8bb00539c9.tar.bz2
rpmdrake-73b158dde1c99156a9f02c39af25dd8bb00539c9.tar.xz
rpmdrake-73b158dde1c99156a9f02c39af25dd8bb00539c9.zip
Further url fixing
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index a26e48a7..1c254cd9 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -391,7 +391,7 @@ sub mirrors {
if ($arch && compat_arch_for_updates($arch)) {
my ($land, $goodness);
foreach (keys %u2l) {
- if ($url =~ m|\.\Q$_\E/|) {
+ if ($url =~ m|//[^/]+\.\Q$_\E/|) {
$land = $_;
last;
}