diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-14 13:44:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-14 13:44:33 +0000 |
commit | d6a209622740f7568bb80bce826d3ec34bdf3954 (patch) | |
tree | f22597674b358df140a1224b21b1d166b595662e /urpmi.update | |
parent | 54ed4e4161c0838da939057e5b286e93f2423dfb (diff) | |
download | urpmi-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.update')
-rwxr-xr-x | urpmi.update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.update b/urpmi.update index b27f7fba..7698d324 100755 --- a/urpmi.update +++ b/urpmi.update @@ -69,7 +69,7 @@ if ($< != 0) { $urpm->{fatal}(1, N("Only superuser is allowed to update media")); } 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 @chosen_media; |