summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-21 16:26:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-21 16:26:33 +0000
commitcfa52e479c444462356e17c9688f0adc3c795e2b (patch)
tree6e4187ca721fe0302f21f03e8a6ed29c5ef76897
parent8f978a960f4c0ff97970d753d0ce63a1728da0d7 (diff)
downloadurpmi-cfa52e479c444462356e17c9688f0adc3c795e2b.tar
urpmi-cfa52e479c444462356e17c9688f0adc3c795e2b.tar.gz
urpmi-cfa52e479c444462356e17c9688f0adc3c795e2b.tar.bz2
urpmi-cfa52e479c444462356e17c9688f0adc3c795e2b.tar.xz
urpmi-cfa52e479c444462356e17c9688f0adc3c795e2b.zip
- gurpmi
o fix answering yes to questions on error
-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;