summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-14 13:44:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-14 13:44:33 +0000
commitd6a209622740f7568bb80bce826d3ec34bdf3954 (patch)
treef22597674b358df140a1224b21b1d166b595662e /urpmi.removemedia
parent54ed4e4161c0838da939057e5b286e93f2423dfb (diff)
downloadurpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar.gz
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar.bz2
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar.xz
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.zip
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o do not check wether the media are valid, it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work (nb: not equivalent with urpmi.addmedia, since pubkey will not be imported)
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia
index 247030ee..f885db02 100755
--- a/urpmi.removemedia
+++ b/urpmi.removemedia
@@ -60,7 +60,7 @@ if ($< != 0) {
}
my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive', wait => $options{wait_lock});
-urpm::media::read_config($urpm);
+urpm::media::read_config($urpm, 'nocheck');
urpm::download::set_cmdline_proxy();
my @entries = map { $_->{name} } @{$urpm->{media}};