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.removemedia | |
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.removemedia')
-rwxr-xr-x | urpmi.removemedia | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia index a3485282..b60c1f55 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -63,7 +63,7 @@ if ($< != 0) { $urpm->{fatal}(1, N("Only superuser is allowed to remove media")); } -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); urpm::download::set_cmdline_proxy(); my @entries = map { $_->{name} } @{$urpm->{media}}; |