aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 381d1bd2..4bf591ef 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1496,7 +1496,6 @@ sub get_pkgs {
};
- my $_lock = urpm::lock::urpmi_db($urpm);
if (!$urpm) {
$urpm ||= urpm->new;
$urpm->{fatal} = $fatal_handler;
@@ -1507,6 +1506,8 @@ sub get_pkgs {
exec('edit-urpm-sources.pl');
}
}
+ my $_lock = urpm::lock::urpmi_db($urpm);
+ sleep(10000);
my $statedir = $urpm->{statedir};
@update_medias = grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};