aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2ffd28d1..04e9eba7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- edit-urpm-sources:
+ o fix displaying type of altered mirrorlist media (#44930)
+
Version 5.0.3 - 21 October 2008, Thierry Vignaud
- fix displaying big list of conflicting packages
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 8789883e..ecb3d2b1 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -69,8 +69,8 @@ sub get_medium_type {
rsync => N("rsync"),
ssh => N("NFS"),
);
- return $medium_type{$1} if $medium->{url} =~ m!^([^:]*)://!;
return N("Mirror list") if $medium->{mirrorlist};
+ return $medium_type{$1} if $medium->{url} =~ m!^([^:]*)://!;
return N("Local");
}