summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 16:14:28 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 16:14:28 +0000
commitb39c4b22510e54917744f0329875a119f85a4e1d (patch)
treed7ffd2142817ec7f030b7dab518f003588246684 /gurpmi2
parent1baaa25012303e6a6c2772e39598eab5a54002ee (diff)
downloadurpmi-b39c4b22510e54917744f0329875a119f85a4e1d.tar
urpmi-b39c4b22510e54917744f0329875a119f85a4e1d.tar.gz
urpmi-b39c4b22510e54917744f0329875a119f85a4e1d.tar.bz2
urpmi-b39c4b22510e54917744f0329875a119f85a4e1d.tar.xz
urpmi-b39c4b22510e54917744f0329875a119f85a4e1d.zip
(do_install) just do not ask for confirmation before removing packages in --auto mode
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 1301c6d1..f510a834 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -217,7 +217,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)