summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 09:09:21 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 09:09:21 +0000
commit18fcb7f56bb2ef478dc04bee829a1934263fe1e9 (patch)
tree661dc6f2f7b2735b58e2aa093b9f94d34b40f468 /gurpmi2
parentb9ca4f332ba141b7b99a47b543648bd1776f80bc (diff)
downloadurpmi-18fcb7f56bb2ef478dc04bee829a1934263fe1e9.tar
urpmi-18fcb7f56bb2ef478dc04bee829a1934263fe1e9.tar.gz
urpmi-18fcb7f56bb2ef478dc04bee829a1934263fe1e9.tar.bz2
urpmi-18fcb7f56bb2ef478dc04bee829a1934263fe1e9.tar.xz
urpmi-18fcb7f56bb2ef478dc04bee829a1934263fe1e9.zip
(completed callback) unlock RPM & URPMI dbs locks as soon as possible like rpmdrake
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi24
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpmi2 b/gurpmi2
index 1e147b68..972c3fe7 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -280,6 +280,8 @@ sub do_install_3 () {
sync();
},
completed => sub {
+ $urpmi_lock->unlock;
+ $rpm_lock->unlock;
$vbox = Gtk2::VBox->new(0, 5);
$progress_label = Gtk2::Label->new('-');
my $sw = create_scrolled_window($progress_label);
@@ -311,7 +313,5 @@ sub do_install_3 () {
trans => $callback_inst,
}
);
- $urpmi_lock->unlock;
- $rpm_lock->unlock;
urpm::removable::try_umounting_removables($urpm);
}