summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 11:24:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 11:24:33 +0000
commit70e567c3160a5862ef18c04d2571a641775341d1 (patch)
treef25554cf5accddc3582c46a893b6349130e84ff6
parentc8ca455c13b5083d3c91e61a6e0c326c1ef744aa (diff)
downloadurpmi-70e567c3160a5862ef18c04d2571a641775341d1.tar
urpmi-70e567c3160a5862ef18c04d2571a641775341d1.tar.gz
urpmi-70e567c3160a5862ef18c04d2571a641775341d1.tar.bz2
urpmi-70e567c3160a5862ef18c04d2571a641775341d1.tar.xz
urpmi-70e567c3160a5862ef18c04d2571a641775341d1.zip
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)
-rw-r--r--urpm.pm5
1 files changed, 0 insertions, 5 deletions
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.