diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 16:22:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 16:22:58 +0000 |
commit | 5a98bb67538f76f8cc004297a2251147df0eed08 (patch) | |
tree | c612d0fcdd71013d8df1dd1dbaeb4a1eb030a9af /urpmi.removemedia | |
parent | b3ec44efa1b101ed97900f0762bf492b131399f5 (diff) | |
download | urpmi-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 'urpmi.removemedia')
-rwxr-xr-x | urpmi.removemedia | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia index 35f98081..b9541e6b 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -50,7 +50,6 @@ where <name> is a medium name to remove. #- default option values -$options{noclean} = 1; $options{strict_match} = 1; our @cmdline; #- set by urpm::args @@ -84,11 +83,6 @@ my @selected = urpm::media::select_media_by_name($urpm, \@toremove, !$urpm->{opt or exit 1; urpm::media::remove_media($urpm, \@selected); - -if ($options{noclean}) { - #- FIXME: AFAIK it is broken because function below use {depslist} which we don't clean here - urpm::remove_obsolete_headers_in_cache($urpm); -} urpm::media::write_urpmi_cfg($urpm); exit(0); |