summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-16 21:34:40 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-16 21:34:40 +0000
commitb99a8f0969c7b1bd29f8e458811cc457f595d050 (patch)
treef7f14e11c5b2bf63835254f4944ccbe4993f808e
parent2a20bb652b39b62216c5654a9fc926ee1b456ae5 (diff)
downloaddrakx-b99a8f0969c7b1bd29f8e458811cc457f595d050.tar
drakx-b99a8f0969c7b1bd29f8e458811cc457f595d050.tar.gz
drakx-b99a8f0969c7b1bd29f8e458811cc457f595d050.tar.bz2
drakx-b99a8f0969c7b1bd29f8e458811cc457f595d050.tar.xz
drakx-b99a8f0969c7b1bd29f8e458811cc457f595d050.zip
(urpmidir) adapt it to urpmi API
was unused since switching to urpmi code in 2009, needed for next commits
-rw-r--r--perl-install/install/media.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 27b931266..9548900c2 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -436,7 +436,8 @@ sub urpmidir() {
sub hdlist_on_disk {
my ($m) = @_;
- urpmidir() . "/hdlist.$m->{fakemedium}.cz";
+ #urpmidir() . "/hdlist.$m->{fakemedium}.cz";
+ join('/', $m->{url}, $m->{media_info_dir}, "hdlist.cz");
}
sub _allow_copy_rpms_on_disk {