summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-14 12:46:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-14 12:46:02 +0000
commit5d08fd7a53178de537562f40508be220440dacc4 (patch)
tree25eeee5386656e982ef06a0216b0e7ea88d834ab /urpm.pm
parent10d20a4f52605a98d3726dc1e4c12ad83aa6ad9c (diff)
downloadurpmi-5d08fd7a53178de537562f40508be220440dacc4.tar
urpmi-5d08fd7a53178de537562f40508be220440dacc4.tar.gz
urpmi-5d08fd7a53178de537562f40508be220440dacc4.tar.bz2
urpmi-5d08fd7a53178de537562f40508be220440dacc4.tar.xz
urpmi-5d08fd7a53178de537562f40508be220440dacc4.zip
use statedir_synthesis()
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 6a3c5d53..10f04f61 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2296,7 +2296,8 @@ sub resolve_dependencies {
unlink $file;
foreach (@{$urpm->{media}}) {
is_valid_medium($_) or next;
- system "cat '$urpm->{statedir}/synthesis.$_->{hdlist}' >> '$file'";
+ my $f = statedir_synthesis($urpm, $_);
+ system "cat '$f' >> '$file'";
}
#- let each node determine what is requested, according to handler given.
$urpm->{parallel_handler}->parallel_resolve_dependencies($file, $urpm, $state, $requested, %options);