diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 09:27:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 09:27:55 +0000 |
commit | 59db9e4188cbc9819f719e26ac8b2070e1777df4 (patch) | |
tree | 594e7d40a215ef74dc152ca215e24efc22cede2d /urpm.pm | |
parent | 668c8543f50f2604d1423248bd5c96487befd5ce (diff) | |
download | urpmi-59db9e4188cbc9819f719e26ac8b2070e1777df4.tar urpmi-59db9e4188cbc9819f719e26ac8b2070e1777df4.tar.gz urpmi-59db9e4188cbc9819f719e26ac8b2070e1777df4.tar.bz2 urpmi-59db9e4188cbc9819f719e26ac8b2070e1777df4.tar.xz urpmi-59db9e4188cbc9819f719e26ac8b2070e1777df4.zip |
use _parse_maybe_hdlist_or_synthesis()
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1183,11 +1183,8 @@ sub _read_existing_synthesis_and_hdlist { #- XXX we could link the new hdlist to the old one. #- (However links need to be managed. see bug #12391.) #- as previously done, just read synthesis file here, this is enough. - if (!_parse_synthesis($urpm, $medium, statedir_synthesis($urpm, $medium))) { - _parse_hdlist($urpm, $medium, statedir_hdlist($urpm, $medium)); - _check_after_reading_hdlist_or_synthesis($urpm, $medium); - } - + _parse_maybe_hdlist_or_synthesis($urpm, $medium, statedir_synthesis($urpm, $medium)) + or _check_after_reading_hdlist_or_synthesis($urpm, $medium); 1; } |