summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi23
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 23fda4e9..d677170d 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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();