summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi22
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0485c8a5..ddbeb440 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
o exit on failing media instead of ignoring them (esp. for --distrib)
- urpmi.update
o fix --force-key (#45094)
+- gurpmi
+ o fix answering yes to questions on error
- urpme, library
o do not display things like "conflicts@b-1-1.noarch@a-1-1.noarch@/etc/foo"
(regression introduced in 6.14.5)
diff --git a/gurpmi2 b/gurpmi2
index a981363f..952e305c 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -352,7 +352,7 @@ sub do_install_3 () {
my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'warning', 'yes-no', $msg);
my $response = $w->run;
$w->destroy;
- return $response eq 'ok';
+ return $response eq 'yes';
},
completed => sub {
$urpmi_lock->unlock;