summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-28 14:15:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-28 14:15:32 +0000
commit1039d32cdcb1396e9c0bfd2605ab636a4b4eb059 (patch)
tree8f9f90cc605ad1b50ffd63bfb28618df771b8b44
parent1f3cbe423b6af4f3d84d21e97e0ad5e34fdb286f (diff)
downloadurpmi-1039d32cdcb1396e9c0bfd2605ab636a4b4eb059.tar
urpmi-1039d32cdcb1396e9c0bfd2605ab636a4b4eb059.tar.gz
urpmi-1039d32cdcb1396e9c0bfd2605ab636a4b4eb059.tar.bz2
urpmi-1039d32cdcb1396e9c0bfd2605ab636a4b4eb059.tar.xz
urpmi-1039d32cdcb1396e9c0bfd2605ab636a4b4eb059.zip
fix typo in previous commit
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index c4b6134a..56c9eeaa 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1629,7 +1629,7 @@ sub _update_medium_first_pass {
#- but use newly created file.
unlink statedir_hdlist($urpm, $medium);
unlink statedir_synthesis($urpm, $medium);
- $medium->{list} unlink statedir_list($urpm, $medium);
+ $medium->{list} and unlink statedir_list($urpm, $medium);
unless ($medium->{headers}) {
urpm::util::move(cachedir_with_hdlist($urpm, $medium, 's'),
statedir_hdlist_or_synthesis($urpm, $medium, 's'));