From 72b57ddca5efa0d10eb3c55a2bb8ab687b6bca0e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Sep 2007 15:22:24 +0000 Subject: (run) use fast_open_urpmi_db() instead of urpm::new() in order to support --urpmi-root and the like options --- Rpmdrake/edit_urpm_sources.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake/edit_urpm_sources.pm') 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 -- cgit v1.2.1