From 5a98bb67538f76f8cc004297a2251147df0eed08 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 19 Dec 2007 16:22:58 +0000 Subject: - 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 :) --- urpmi.removemedia | 6 ------ 1 file changed, 6 deletions(-) (limited to 'urpmi.removemedia') diff --git a/urpmi.removemedia b/urpmi.removemedia index 35f98081..b9541e6b 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -50,7 +50,6 @@ where 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); -- cgit v1.2.1