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
commit0b201e62a6ad8d5c87f72a2e5416d50ee51f5722 (patch)
treef7f14e11c5b2bf63835254f4944ccbe4993f808e
parentaa045e79385b43557c856e010e12f06adf4ecda6 (diff)
downloaddrakx-backup-do-not-use-0b201e62a6ad8d5c87f72a2e5416d50ee51f5722.tar
drakx-backup-do-not-use-0b201e62a6ad8d5c87f72a2e5416d50ee51f5722.tar.gz
drakx-backup-do-not-use-0b201e62a6ad8d5c87f72a2e5416d50ee51f5722.tar.bz2
drakx-backup-do-not-use-0b201e62a6ad8d5c87f72a2e5416d50ee51f5722.tar.xz
drakx-backup-do-not-use-0b201e62a6ad8d5c87f72a2e5416d50ee51f5722.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 {