diff options
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-x | urpmi.removemedia | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia index 25e43ab6..0bf7d7db 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -73,6 +73,7 @@ if ($< != 0) { $options{verbose} > 0 or $urpm->{log} = sub {}; +my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive'); urpm::media::read_config($urpm); urpm::download::set_cmdline_proxy(); my @entries = map { $_->{name} } @{$urpm->{media}}; |