From 35a50cd52992c23cfd3a3fa73607458baa2593d4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Nov 2008 12:58:54 +0000 Subject: (get_medium_type) fix displaying type of altered mirrorlist media (#44930) --- NEWS | 2 ++ Rpmdrake/edit_urpm_sources.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c93f5917..6b0523a9 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- edit-urpm-sources: + o fix displaying type of altered mirrorlist media (#44930) - rpmdrake: o list plasma applets in GUI package list too (#45835) diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 14164f80..008de990 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"); } -- cgit v1.2.1