diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-14 13:53:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-14 13:53:17 +0000 |
commit | e1ff70c76947a95f6336625a3d77299158e71f4c (patch) | |
tree | 7c4ca0097f24202d8dffd907aee205ec433552ad /urpmi.update | |
parent | a78eb84d501c836f3d7ea0ddb7ace76ac39feaef (diff) | |
download | urpmi-e1ff70c76947a95f6336625a3d77299158e71f4c.tar urpmi-e1ff70c76947a95f6336625a3d77299158e71f4c.tar.gz urpmi-e1ff70c76947a95f6336625a3d77299158e71f4c.tar.bz2 urpmi-e1ff70c76947a95f6336625a3d77299158e71f4c.tar.xz urpmi-e1ff70c76947a95f6336625a3d77299158e71f4c.zip |
- urpmi.update:
o handle --nocheck:
it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a --nocheck"
(partial backport from trunk)
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..87ef1ebb 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, $options{nocheck}); my @chosen_media; |