aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-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...