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 c843ceb4..aadaf51a 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
o do not exit in --auto mode at end of installation which prevents
restarting after priority upgrade
o fix using --rpm-root & --urpmi-root
+ o just do not ask for confirmation before removing packages in
+ --auto mode,
Version 6.14 - 23 September 2008
diff --git a/gurpmi2 b/gurpmi2
index 1b7c85cc..918de990 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -216,7 +216,7 @@ sub ask_continue_blocking {
sub do_install {
wait_label();
my @ask_remove = urpm::select::removed_packages($urpm, $state);
- @ask_remove
+ @ask_remove && !$gurpmi::options{auto};
? ask_continue(N(
"The following packages have to be removed for others to be upgraded:\n%s\nContinue installation anyway?",
urpm::select::translate_why_removed($urpm, $state, @ask_remove)