aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-14 14:36:40 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-14 14:36:40 +0000
commit08be9b51c31cf0a658db0aa8a02d88f587e7cfe7 (patch)
treea38e50da002018b44b96fcb2656d2798ec1c9a9b
parent81743437e5e8814689edfc0f7e43e04cc8fe3d21 (diff)
downloadrpmdrake-08be9b51c31cf0a658db0aa8a02d88f587e7cfe7.tar
rpmdrake-08be9b51c31cf0a658db0aa8a02d88f587e7cfe7.tar.gz
rpmdrake-08be9b51c31cf0a658db0aa8a02d88f587e7cfe7.tar.bz2
rpmdrake-08be9b51c31cf0a658db0aa8a02d88f587e7cfe7.tar.xz
rpmdrake-08be9b51c31cf0a658db0aa8a02d88f587e7cfe7.zip
(make_url_mirror_dist) kill unused function
-rw-r--r--rpmdrake.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index cd338029..77c79fa5 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -76,7 +76,6 @@ our @EXPORT = qw(
statusbar_msg_remove
choose_mirror
make_url_mirror
- make_url_mirror_dist
show_urpm_progress
update_sources
update_sources_check
@@ -640,12 +639,6 @@ sub make_url_mirror {
$mirror . '/media/main/updates';
}
-sub make_url_mirror_dist {
- my ($mirror) = @_;
- $mirror =~ s!/(?:RPMS|media/main)/?\Z!/!;
- $mirror;
-}
-
sub show_urpm_progress {
my ($label, $pb, $mode, $file, $percent, $total, $eta, $speed) = @_;
$file =~ s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; #- if needed...