aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-19 10:46:31 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-19 10:46:31 +0000
commitb5599eddf576ab0d563e2a75c576fd5f24bd61e5 (patch)
treea0f6e69b5a02eeae8444cc49816c68454f0d8cac /edit-urpm-sources.pl
parenta58d5f6b3c2a5d080210e134128622a5b5e3f2ea (diff)
downloadrpmdrake-b5599eddf576ab0d563e2a75c576fd5f24bd61e5.tar
rpmdrake-b5599eddf576ab0d563e2a75c576fd5f24bd61e5.tar.gz
rpmdrake-b5599eddf576ab0d563e2a75c576fd5f24bd61e5.tar.bz2
rpmdrake-b5599eddf576ab0d563e2a75c576fd5f24bd61e5.tar.xz
rpmdrake-b5599eddf576ab0d563e2a75c576fd5f24bd61e5.zip
(easy_add_callback) comment a hack
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 ada0aa8b..965ae8d3 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -101,7 +101,7 @@ 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';
+ my $is_update = $mirror->{type} eq 'updates'; # because updates media do not provide media.cfg yet
$m .= '/media/main/updates' if $is_update;
my $wait = wait_msg_(N("Please wait, adding media..."));
my $url = $m;