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 /urpmq | |
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 'urpmq')
-rwxr-xr-x | urpmq | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,8 +145,8 @@ if ($options{ignorearch}) { urpm::shunt_ignorearch() } my $rpm_lock = $options{upgrade} && !$options{env} && !$options{nolock} - && urpm::lock::rpm_db($urpm); -my $urpmi_lock = !$options{nolock} && urpm::lock::urpmi_db($urpm); + && urpm::lock::rpm_db($urpm, '', wait => $options{wait_lock}); +my $urpmi_lock = !$options{nolock} && urpm::lock::urpmi_db($urpm, '', wait => $options{wait_lock}); urpm::media::configure($urpm, nocheck_access => 1, nodepslist => $options{nodepslist}, |