diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-15 13:56:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-15 13:56:16 +0000 |
commit | 52c3115f06e5b0aa0be626dcca9d52df3797e2b2 (patch) | |
tree | 912eb8025d13208f0f72056934bfa2b00b59e609 /urpm.pm | |
parent | 52ab56d052cad845c9c9f037277f562d02872e25 (diff) | |
download | urpmi-52c3115f06e5b0aa0be626dcca9d52df3797e2b2.tar urpmi-52c3115f06e5b0aa0be626dcca9d52df3797e2b2.tar.gz urpmi-52c3115f06e5b0aa0be626dcca9d52df3797e2b2.tar.bz2 urpmi-52c3115f06e5b0aa0be626dcca9d52df3797e2b2.tar.xz urpmi-52c3115f06e5b0aa0be626dcca9d52df3797e2b2.zip |
reorder
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2477,8 +2477,10 @@ sub get_source_packages { closedir $dh; } - #- clean download directory, do it here even if this is not the best moment. - clean_dir("$urpm->{cachedir}/partial") if $options{clean_all}; + if ($options{clean_all}) { + #- clean download directory, do it here even if this is not the best moment. + clean_dir("$urpm->{cachedir}/partial"); + } my ($error, @list_error, @list, %examined); |