aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 965ae8d3..b86cbcaa 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -101,8 +101,8 @@ Is it ok to continue?", $rpmdrake::mandrake_release),
) or return 0;
ref $mirror or return;
my $m = $mirror->{url};
- my $is_update = $mirror->{type} eq 'updates'; # because updates media do not provide media.cfg yet
- $m .= '/media/main/updates' if $is_update;
+ my $is_update = $mirror->{type} eq 'updates';
+ $m .= '/media/main/updates' 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;