diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-12 11:33:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-12 11:33:39 +0000 |
commit | 4bda2339695fac3b3cc2b73cf3a1d23dcdb569a9 (patch) | |
tree | 93f358657fc9819981adb01686bc0b46d8a05242 /gurpmi2 | |
parent | df23d1acfe8752f339f9f69d212cfa240f578796 (diff) | |
download | urpmi-4bda2339695fac3b3cc2b73cf3a1d23dcdb569a9.tar urpmi-4bda2339695fac3b3cc2b73cf3a1d23dcdb569a9.tar.gz urpmi-4bda2339695fac3b3cc2b73cf3a1d23dcdb569a9.tar.bz2 urpmi-4bda2339695fac3b3cc2b73cf3a1d23dcdb569a9.tar.xz urpmi-4bda2339695fac3b3cc2b73cf3a1d23dcdb569a9.zip |
- urpmi:
o fix handling "post-clean: 0" in urpmi.cfg
(#36082, regression introduced 2007-11-28)
- library:
o urpm::media::read_config() doesn't read urpmi.cfg global options anymore,
use urpm->get_global_options or urpm->new_parse_cmdline
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -98,7 +98,8 @@ my ($rpm_lock, $urpmi_lock); #- Creates and configure an urpm object for this application to use. sub configure_urpm() { - my $urpm = new urpm; + my $urpm = urpm->new; + $urpm->get_global_options; $urpm->{fatal} = sub { Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'error', 'ok', Locale::gettext::iconv($_[1], undef, 'UTF-8'))->run; quit(); |