summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xgurpmi22
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7407e064..92e240e3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+ o just do not ask for confirmation before removing packages in
+ --auto mode,
+
Version 5.19.3 - 6 October 2008, by Pascal "Pixel" Rigaux
- gurpmi:
diff --git a/gurpmi2 b/gurpmi2
index 211ffd45..a2a586a6 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -208,7 +208,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)