summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-11 11:40:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-11 11:40:43 +0000
commit58c4003c40a63ce57cc587b4651926c3a34c3632 (patch)
tree7d24d46e6c85915e0a88acc07c3b13defea9aead /urpmq
parentf71c4570e3918f9fb10e633cce55a214f476d828 (diff)
downloadurpmi-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-xurpmq4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmq b/urpmq
index ce367196..271ee92c 100755
--- a/urpmq
+++ b/urpmq
@@ -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},