summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-11 16:35:49 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-11 16:35:49 +0000
commit29d5283915176ef8e5b890c53f7316386ac2193d (patch)
tree23bfae83ce4f3741157bbade5c4745b64b43be41
parent510b104440491652fc39828c86c1e098c665d826 (diff)
downloaddrakx-29d5283915176ef8e5b890c53f7316386ac2193d.tar
drakx-29d5283915176ef8e5b890c53f7316386ac2193d.tar.gz
drakx-29d5283915176ef8e5b890c53f7316386ac2193d.tar.bz2
drakx-29d5283915176ef8e5b890c53f7316386ac2193d.tar.xz
drakx-29d5283915176ef8e5b890c53f7316386ac2193d.zip
(hdlist_on_disk) kill it, no more used
-rw-r--r--perl-install/install/media.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index ebbf99665..ef2ade7fe 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -433,15 +433,6 @@ sub urpmidir() {
-w $v ? $v : '/tmp';
}
-sub hdlist_on_disk {
- my ($m) = @_;
-
- #urpmidir() . "/hdlist.$m->{fakemedium}.cz";
- require urpm;
- # FIXME: download hdlist if needed:
- return urpm::is_local_medium($m) ? join('/', $m->{url}, $m->{media_info_dir}, "hdlist.cz") : '';
-}
-
sub _allow_copy_rpms_on_disk {
my ($medium, $hdlists) = @_;