aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-11-23 13:18:54 +0000
committerThierry Vignaud <tv@mandriva.org>2007-11-23 13:18:54 +0000
commitbb84bb3c16c48a0a56090aedd2d6ee104a9a305e (patch)
tree17e9f01e3f362ef531df1123098f07e4fbfb9ea9 /Rpmdrake/edit_urpm_sources.pm
parent1b1a59805e4403ff23b472fd6cd2f1eeaf93a533 (diff)
downloadrpmdrake-bb84bb3c16c48a0a56090aedd2d6ee104a9a305e.tar
rpmdrake-bb84bb3c16c48a0a56090aedd2d6ee104a9a305e.tar.gz
rpmdrake-bb84bb3c16c48a0a56090aedd2d6ee104a9a305e.tar.bz2
rpmdrake-bb84bb3c16c48a0a56090aedd2d6ee104a9a305e.tar.xz
rpmdrake-bb84bb3c16c48a0a56090aedd2d6ee104a9a305e.zip
add support for --wait-lock option
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index b44abdd8..6c8c2cfb 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1173,7 +1173,7 @@ packages as well?)."));
myexit -1;
};
# lock urpmi DB
- $lock = urpm::lock::urpmi_db($urpm, 'exclusive');
+ $lock = urpm::lock::urpmi_db($urpm, 'exclusive', wait => $urpm->{options}{wait_lock});
}
my $res = mainwindow();