aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-24 12:58:54 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-24 12:58:54 +0000
commit35a50cd52992c23cfd3a3fa73607458baa2593d4 (patch)
treef74a40a998822401d410096b1ca0eb685d1326cc /Rpmdrake
parentb3054af4a27e7bc82b8ad007523875baef311ab1 (diff)
downloadrpmdrake-35a50cd52992c23cfd3a3fa73607458baa2593d4.tar
rpmdrake-35a50cd52992c23cfd3a3fa73607458baa2593d4.tar.gz
rpmdrake-35a50cd52992c23cfd3a3fa73607458baa2593d4.tar.bz2
rpmdrake-35a50cd52992c23cfd3a3fa73607458baa2593d4.tar.xz
rpmdrake-35a50cd52992c23cfd3a3fa73607458baa2593d4.zip
(get_medium_type) fix displaying type of altered mirrorlist media (#44930)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
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");
}