summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-15 14:25:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-15 14:25:52 +0000
commit9a92f88e114fdf6b13eef754e7c8c5ca014c0c50 (patch)
treebc9b96a72c56fe33b85db4a64b2904a3935f3032
parent47a7e619faf5d6fc358c319aeca322def85a5643 (diff)
downloadurpmi-9a92f88e114fdf6b13eef754e7c8c5ca014c0c50.tar
urpmi-9a92f88e114fdf6b13eef754e7c8c5ca014c0c50.tar.gz
urpmi-9a92f88e114fdf6b13eef754e7c8c5ca014c0c50.tar.bz2
urpmi-9a92f88e114fdf6b13eef754e7c8c5ca014c0c50.tar.xz
urpmi-9a92f88e114fdf6b13eef754e7c8c5ca014c0c50.zip
move comment where it should be
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 37084522..7787cb8c 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2022,10 +2022,10 @@ sub update_media {
_update_medium_second_pass($urpm, $medium, $second_pass, $options{callback});
}
- #- clean headers cache directory to remove everything that is no longer
- #- useful according to the depslist.
if ($urpm->{modified}) {
if ($options{noclean}) {
+ #- clean headers cache directory to remove everything that is no longer
+ #- useful according to the depslist.
remove_obsolete_headers_in_cache($urpm);
}
#- write config files in any case