summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 021bc9c6b..4a7d6d3f9 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -441,7 +441,11 @@ sub getOtherDeps($$) {
}
sub getDeps($) {
- my ($packages) = @_;
+ my ($prefix, $packages) = @_;
+
+ #- this is necessary for urpmi, but also as hdlist are copied here,
+ #- we can make consistent the directory.
+ install_any::getAndSaveFile("depslist", "$prefix/var/lib/urpmi/depslist");
my $f = install_any::getFile("depslist.ordered") or die "can't find dependencies list";