aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-24 13:11:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-24 13:11:24 +0000
commitffec7627deb30ef51e5178347be8bb009a38bfeb (patch)
treef0223823aa300bdef1176ed66e6c3321ac44bbf7 /Rpmdrake
parenteb6948f1e08fb8c9b17ba53dc138a1a8d382e0a3 (diff)
downloadrpmdrake-ffec7627deb30ef51e5178347be8bb009a38bfeb.tar
rpmdrake-ffec7627deb30ef51e5178347be8bb009a38bfeb.tar.gz
rpmdrake-ffec7627deb30ef51e5178347be8bb009a38bfeb.tar.bz2
rpmdrake-ffec7627deb30ef51e5178347be8bb009a38bfeb.tar.xz
rpmdrake-ffec7627deb30ef51e5178347be8bb009a38bfeb.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 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");
}