summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-21 16:25:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-21 16:25:48 +0000
commit901b8371ac3c864fe1cdbc7067020a99c27e9fa6 (patch)
tree1fb43bf5706e6c2df543a8776024c3978f394734
parente1b77dc67dc7c350c5d3e6acd451785a9c78f340 (diff)
downloadurpmi-901b8371ac3c864fe1cdbc7067020a99c27e9fa6.tar
urpmi-901b8371ac3c864fe1cdbc7067020a99c27e9fa6.tar.gz
urpmi-901b8371ac3c864fe1cdbc7067020a99c27e9fa6.tar.bz2
urpmi-901b8371ac3c864fe1cdbc7067020a99c27e9fa6.tar.xz
urpmi-901b8371ac3c864fe1cdbc7067020a99c27e9fa6.zip
- gurpmi
o fix answering yes to questions on error
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi22
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ed26109f..dafabb98 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@
- gurpmi
o display the download errors
o log all urpmi logs
+ o fix answering yes to questions on error
- urpmi.update
o fix --force-key (#45094)
- urpmi.addmedia
diff --git a/gurpmi2 b/gurpmi2
index 67c972c7..57ad610d 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -404,7 +404,7 @@ sub ask_yes_or_no {
my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'warning', 'yes-no', $msg);
my $response = $w->run;
$w->destroy;
- $response eq 'ok';
+ $response eq 'yes';
}
sub gtk_new_Label_Left {