summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-20 14:40:28 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-20 14:40:28 +0000
commit299583692c50b33466f909dc84a9fe82e9e41d86 (patch)
treec7d73504b853be8f565dd50724ed05f7aad8a367 /perl-install/install
parentaae9046865f39e67eabd2af8911b4fe72f788abb (diff)
downloaddrakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar
drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar.gz
drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar.bz2
drakx-299583692c50b33466f909dc84a9fe82e9e41d86.tar.xz
drakx-299583692c50b33466f909dc84a9fe82e9e41d86.zip
(_url_respect_privacy) kill it (replaced by urpm::download::url_obscuring_password())
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/media.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 1c49076da..aa0b1cd23 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -141,15 +141,9 @@ sub umount_media {
umount_phys_medium($_) foreach grep { $_ } map { $_->{loopback_device} } @l;
}
-sub _url_respect_privacy {
- my ($url) = @_;
-
- $url =~ s!ftp://.*?\@!ftp://xxx@!;
- $url;
-}
sub phys_medium_to_string {
my ($phys_m) = @_;
- _url_respect_privacy($phys_m->{url}) . ($phys_m->{name} ? " ($phys_m->{name})" : '');
+ urpm::download::url_obscuring_password($phys_m->{url}) . ($phys_m->{name} ? " ($phys_m->{name})" : '');
}
sub _stage2_mounted_medium {