diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-12-05 19:48:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-12-05 19:48:39 +0000 |
commit | 6d5838c5a7a080f7232d468c204f42bc6079ccbb (patch) | |
tree | 9cf6ed36b45caa9baaf557864b518d0d0022bfc7 | |
parent | 9039e272ca3033fc67511b9ee62b858fac719a9e (diff) | |
download | urpmi-6d5838c5a7a080f7232d468c204f42bc6079ccbb.tar urpmi-6d5838c5a7a080f7232d468c204f42bc6079ccbb.tar.gz urpmi-6d5838c5a7a080f7232d468c204f42bc6079ccbb.tar.bz2 urpmi-6d5838c5a7a080f7232d468c204f42bc6079ccbb.tar.xz urpmi-6d5838c5a7a080f7232d468c204f42bc6079ccbb.zip |
(configure_urpm) fix crash in do_install_3() and really lock the urpm db
-rwxr-xr-x | gurpmi2 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -123,7 +123,8 @@ sub configure_urpm() { $w->destroy; }; $rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive'); - $urpmi_lock = urpm::media::configure($urpm, + $urpmi_lock = urpm::lock::urpmi_db($urpm); + urpm::media::configure($urpm, root => $gurpmi::options{root}, media => $gurpmi::options{media}, searchmedia => $gurpmi::options{searchmedia}, |