summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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},