summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
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 /urpmi.removemedia
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 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia6
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);