diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-02 13:24:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-02 13:24:03 +0000 |
commit | 9d87037d96299c14bd28f7f4f638c59b1df21df5 (patch) | |
tree | 8ed69d64e75c7e614ce79e6e8485813389d0f332 /Rpmdrake | |
parent | 1e56128ef4ef8f5df4e4f6d11205c4f5094668f4 (diff) | |
download | rpmdrake-9d87037d96299c14bd28f7f4f638c59b1df21df5.tar rpmdrake-9d87037d96299c14bd28f7f4f638c59b1df21df5.tar.gz rpmdrake-9d87037d96299c14bd28f7f4f638c59b1df21df5.tar.bz2 rpmdrake-9d87037d96299c14bd28f7f4f638c59b1df21df5.tar.xz rpmdrake-9d87037d96299c14bd28f7f4f638c59b1df21df5.zip |
(perform_installation) unlock the urpmi database 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-x | Rpmdrake/pkg.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 392cdea6..a5aff768 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -703,6 +703,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( } Rpmdrake::gurpm::end(); + undef $_lock; if (@errors || @error_msgs) { interactive_msg( |