aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-11 15:22:24 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-11 15:22:24 +0000
commit72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e (patch)
tree98c014f8c9153b58ace771a2925aaf3eafc46633
parent5f97fbb6db8f7789870c8329f0609cc6bd3f6579 (diff)
downloadrpmdrake-72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e.tar
rpmdrake-72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e.tar.gz
rpmdrake-72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e.tar.bz2
rpmdrake-72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e.tar.xz
rpmdrake-72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e.zip
(run) use fast_open_urpmi_db() instead of urpm::new() in order to
support --urpmi-root and the like options
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index dc4c134a..fdf603f0 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1190,7 +1190,7 @@ sub run() {
local $ugtk2::wm_icon = "title-install";
my $lock;
{
- $urpm = urpm->new;
+ $urpm = fast_open_urpmi_db();
local $urpm->{fatal} = sub {
interactive_msg('rpmdrake',
N("Packages database is locked. Please close other applications