aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-25 15:25:21 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-25 15:25:21 +0000
commit877d60ae62dc83a216ee4474bf4ac682380a1b43 (patch)
tree831ac644ace8e62c04a0ec95be9a4deb4b166aff
parentbcbe6daf73de47598e3e342f138f6eefb8327ab5 (diff)
downloadrpmdrake-877d60ae62dc83a216ee4474bf4ac682380a1b43.tar
rpmdrake-877d60ae62dc83a216ee4474bf4ac682380a1b43.tar.gz
rpmdrake-877d60ae62dc83a216ee4474bf4ac682380a1b43.tar.bz2
rpmdrake-877d60ae62dc83a216ee4474bf4ac682380a1b43.tar.xz
rpmdrake-877d60ae62dc83a216ee4474bf4ac682380a1b43.zip
(get_medium_type) handle mirror list
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index a2db0b45..c79cb5ea 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -68,6 +68,7 @@ sub get_medium_type {
ssh => N("NFS"),
);
return $medium_type{$1} if $medium->{url} =~ m!^([^:]*)://!;
+ return N("Mirror list") if $medium->{mirrorlist};
return N("Local");
}