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 108f2d8e..55c06c87 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@
for eg: /var/lib/urpmi/synthesis.hdlist.<medium-name> is now
/var/lib/urpmi/<medium-name>/synthesis.hdlist.cz
it allows easier medium update without using urpmi.update (#31893)
+- gurpmi:
+ o do cancel when pressing the 'No' button (#41648)
- urpmi:
o "missing file" and "bad rpms" errors are reported asap
and are fatal errors unless the user wants to go on anyway (or --force)
diff --git a/gurpmi2 b/gurpmi2
index 34f02aa7..db6991a9 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -202,7 +202,7 @@ sub ask_continue_blocking {
my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'question', 'yes-no', $msg);
my $answer = $w->run;
$w->destroy;
- quit() if $answer eq 'no';
+ exit(1) if $answer eq 'no';
}
sub do_install {