aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index b86cbcaa..b2b97dc4 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -102,7 +102,7 @@ Is it ok to continue?", $rpmdrake::mandrake_release),
ref $mirror or return;
my $m = $mirror->{url};
my $is_update = $mirror->{type} eq 'updates';
- $m .= '/media/main/updates' if $is_update; # because updates media do not provide media.cfg yet
+ $m = make_url_mirror($m) if $is_update; # because updates media do not provide media.cfg yet
my $wait = wait_msg_(N("Please wait, adding media..."));
my $url = $m;
my $medium_name;