summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-12-05 19:48:39 +0000
committerThierry Vignaud <tv@mandriva.org>2006-12-05 19:48:39 +0000
commit6d5838c5a7a080f7232d468c204f42bc6079ccbb (patch)
tree9cf6ed36b45caa9baaf557864b518d0d0022bfc7
parent9039e272ca3033fc67511b9ee62b858fac719a9e (diff)
downloadurpmi-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-xgurpmi23
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index c9eafb03..50e94d52 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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},