aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-19 10:49:39 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-19 10:49:39 +0000
commit06a10f6fce93758ce5cd268edd42584d30fcf435 (patch)
tree84f303b0961bc33dee343aafafdd49f558613e76 /edit-urpm-sources.pl
parentb5599eddf576ab0d563e2a75c576fd5f24bd61e5 (diff)
downloadrpmdrake-06a10f6fce93758ce5cd268edd42584d30fcf435.tar
rpmdrake-06a10f6fce93758ce5cd268edd42584d30fcf435.tar.gz
rpmdrake-06a10f6fce93758ce5cd268edd42584d30fcf435.tar.bz2
rpmdrake-06a10f6fce93758ce5cd268edd42584d30fcf435.tar.xz
rpmdrake-06a10f6fce93758ce5cd268edd42584d30fcf435.zip
(easy_add_callback) move the comment where appropriate
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;