From 70e567c3160a5862ef18c04d2571a641775341d1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Nov 2006 11:24:33 +0000 Subject: remove hopefully now non useful reparsing of synthesis on error (since URPM 1.48, parse_synthesis doesn't modify {depslist} if it doesn't succeed) --- urpm.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 385d4dbb..7703265a 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1802,11 +1802,6 @@ sub _update_medium_first_pass_failed { #- an error has occured for updating the medium, we have to remove temporary files. unlink(glob("$urpm->{cachedir}/partial/*")); - #- read default synthesis (we have to make sure nothing get out of depslist). - if (!_parse_synthesis($urpm, $medium, statedir_synthesis($urpm, $medium))) { - $urpm->{error}(N("problem reading synthesis file of medium \"%s\"", $medium->{name})); - $medium->{ignore} = 1; - } } #- take care of modified medium only, or all if all have to be recomputed. -- cgit v1.2.1