summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index c6e826eb..48d51444 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -175,10 +175,8 @@ sub download_source_packages {
my %error_sources;
require urpm::get_pkgs;
- my $lock = !$options{nolock} && urpm::sys::lock_urpmi_db($urpm, 'exclusive');
urpm::removable::copy_packages_of_removable_media($urpm, $list, \%sources, $options{ask_for_medium}) or return;
urpm::get_pkgs::download_packages_of_distant_media($urpm, $list, \%sources, \%error_sources, %options);
- $lock and urpm::sys::unlock($lock);
%sources, %error_sources;
}