diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-11 11:40:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-11 11:40:43 +0000 |
commit | 58c4003c40a63ce57cc587b4651926c3a34c3632 (patch) | |
tree | 7d24d46e6c85915e0a88acc07c3b13defea9aead /urpmi.addmedia | |
parent | f71c4570e3918f9fb10e633cce55a214f476d828 (diff) | |
download | urpmi-58c4003c40a63ce57cc587b4651926c3a34c3632.tar urpmi-58c4003c40a63ce57cc587b4651926c3a34c3632.tar.gz urpmi-58c4003c40a63ce57cc587b4651926c3a34c3632.tar.bz2 urpmi-58c4003c40a63ce57cc587b4651926c3a34c3632.tar.xz urpmi-58c4003c40a63ce57cc587b4651926c3a34c3632.zip |
- all tools
o new option --wait-lock (#13025)
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia index c8bb7076..3a1f6ed1 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -115,7 +115,7 @@ if (!-e $urpm->{config}) { $urpm->{log}(N("creating config file [%s]", $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'); +my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive', wait => $options{wait_lock}); urpm::media::read_config($urpm); if ($options{distrib}) { |