diff options
author | Francois Pons <fpons@mandriva.com> | 2002-12-11 15:57:32 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-12-11 15:57:32 +0000 |
commit | 2714cdabc9f6e6adaad39d4e69fe6ac6518431e1 (patch) | |
tree | b591f0df2809c6b0145c34527a4aba3840bb596e /urpm.pm | |
parent | 27a0a750284c0a8c83c8112dbb943f881cfff9e8 (diff) | |
download | urpmi-2714cdabc9f6e6adaad39d4e69fe6ac6518431e1.tar urpmi-2714cdabc9f6e6adaad39d4e69fe6ac6518431e1.tar.gz urpmi-2714cdabc9f6e6adaad39d4e69fe6ac6518431e1.tar.bz2 urpmi-2714cdabc9f6e6adaad39d4e69fe6ac6518431e1.tar.xz urpmi-2714cdabc9f6e6adaad39d4e69fe6ac6518431e1.zip |
4.1-15mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -620,11 +620,11 @@ sub configure { foreach (grep { !$_->{ignore} && (!$options{update} || $_->{update}) } @{$urpm->{media} || []}) { delete @{$_}{qw(start end)}; if ($options{callback}) { - if (-s "$urpm->{statedir}/$_->{hdlist}" > 32) { + if ($options{hdlist} && -s "$urpm->{statedir}/$_->{hdlist}" > 32) { $urpm->{log}(_("examining hdlist file [%s]", "$urpm->{statedir}/$_->{hdlist}")); eval { ($_->{start}, $_->{end}) = $urpm->parse_hdlist("$urpm->{statedir}/$_->{hdlist}", packing => 1, callback => $options{callback}) }; - } elsif (-s "$urpm->{statedir}/synthesis.$_->{hdlist}" > 32) { + } else { $urpm->{log}(_("examining synthesis file [%s]", "$urpm->{statedir}/synthesis.$_->{hdlist}")); eval { ($_->{start}, $_->{end}) = $urpm->parse_synthesis("$urpm->{statedir}/synthesis.$_->{hdlist}", callback => $options{callback}) }; |