diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 14:53:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 14:53:28 +0000 |
commit | 955f51351418847032d75b489b114c5d68d00b84 (patch) | |
tree | dfcbc4263749ae6e96c1384773c53a0dcdeb3012 | |
parent | 9bf693bfd548b06d734390fab130f17a53d5cfdc (diff) | |
download | urpmi-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
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | gurpmi2 | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 @@ -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) |