summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-19 16:22:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-19 16:22:58 +0000
commit5a98bb67538f76f8cc004297a2251147df0eed08 (patch)
treec612d0fcdd71013d8df1dd1dbaeb4a1eb030a9af /urpm/media.pm
parentb3ec44efa1b101ed97900f0762bf492b131399f5 (diff)
downloadurpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar
urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar.gz
urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar.bz2
urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar.xz
urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.zip
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o drop option "-c" which used to clean /var/cache/urpmi/headers since we don't use that dir anymore :)
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 20d34b64..5a848a4e 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1357,7 +1357,6 @@ sub _update_media__handle_some_flags {
#- callback : UI callback
#- forcekey : force retrieval of pubkey
#- force : try to force rebuilding base files
-#- noclean : keep old files in the header cache directory
#- nomd5sum : don't verify MD5SUM of retrieved files
#- nopubkey : don't use rpm pubkeys
#- probe_with : probe synthesis or rpms
@@ -1392,11 +1391,6 @@ sub update_media {
}
if ($urpm->{modified}) {
- if ($options{noclean}) {
- #- clean headers cache directory to remove everything that is no longer
- #- useful according to the depslist.
- urpm::remove_obsolete_headers_in_cache($urpm);
- }
#- write config files in any case
write_config($urpm);
urpm::download::dump_proxy_config();