aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-05 11:50:38 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-05 11:50:38 +0000
commit50f6dc64bd5dff2892da335a854db3a37433625b (patch)
tree8fc6435bd5809a821096e890cd24f081c3802445 /Rpmdrake
parentbf62a8c4b593af66f91912ee008325f10124206e (diff)
downloadrpmdrake-50f6dc64bd5dff2892da335a854db3a37433625b.tar
rpmdrake-50f6dc64bd5dff2892da335a854db3a37433625b.tar.gz
rpmdrake-50f6dc64bd5dff2892da335a854db3a37433625b.tar.bz2
rpmdrake-50f6dc64bd5dff2892da335a854db3a37433625b.tar.xz
rpmdrake-50f6dc64bd5dff2892da335a854db3a37433625b.zip
(perform_installation) unlock the urpmi database further earlier, as
soon as the last transaction is completed so that we don"t needlessly lock the db while displaying error or success message.
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 30317017..96fb94e1 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -688,6 +688,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
}
}
+ undef $lock;
if (@rpms_install || @rpms_upgrade || @to_remove) {
if (@missing_errors) {
interactive_msg(
@@ -701,7 +702,6 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
}
Rpmdrake::gurpm::end();
- undef $lock;
if (@errors || @error_msgs) {
interactive_msg(