summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 14:53:28 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 14:53:28 +0000
commit955f51351418847032d75b489b114c5d68d00b84 (patch)
treedfcbc4263749ae6e96c1384773c53a0dcdeb3012 /gurpmi2
parent9bf693bfd548b06d734390fab130f17a53d5cfdc (diff)
downloadurpmi-955f51351418847032d75b489b114c5d68d00b84.tar
urpmi-955f51351418847032d75b489b114c5d68d00b84.tar.gz
urpmi-955f51351418847032d75b489b114c5d68d00b84.tar.bz2
urpmi-955f51351418847032d75b489b114c5d68d00b84.tar.xz
urpmi-955f51351418847032d75b489b114c5d68d00b84.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 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)