From 5d08fd7a53178de537562f40508be220440dacc4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 14 Nov 2006 12:46:02 +0000 Subject: use statedir_synthesis() --- urpm.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpm.pm') 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); -- cgit v1.2.1