summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
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.addmedia
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.addmedia')
-rwxr-xr-xurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 0c6c9d48..90c38a5e 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -128,7 +128,7 @@ if (!-e $urpm->{config}) {
open my $_f, '>', $urpm->{config} or $urpm->{fatal}(6, N("Can't create config file [%s]", $urpm->{config}));
}
my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive', wait => $options{wait_lock});
-urpm::media::read_config($urpm);
+urpm::media::read_config($urpm, 'nocheck');
my $ok = 1;
if ($options{distrib}) {