diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-06 11:18:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-06 11:18:42 +0000 |
commit | 4db08b3d13a35be4d7627c1160c47381202ff551 (patch) | |
tree | bc7a31e7efc3ea2de01d2c6d8563b0d9da928111 /gurpmi2 | |
parent | 7892f9bb78b579fa587e2a89a2740230eeaca0e8 (diff) | |
download | urpmi-4db08b3d13a35be4d7627c1160c47381202ff551.tar urpmi-4db08b3d13a35be4d7627c1160c47381202ff551.tar.gz urpmi-4db08b3d13a35be4d7627c1160c47381202ff551.tar.bz2 urpmi-4db08b3d13a35be4d7627c1160c47381202ff551.tar.xz urpmi-4db08b3d13a35be4d7627c1160c47381202ff551.zip |
Patch by Titi for gurpmi, to avoid asking confirmation when the new option
--auto is given
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ sub do_install_2 () { $pkg->arch ne 'src' and push @to_install, scalar $pkg->fullname; } $urpm->{nb_install} = @to_install; - @to_install > 1 + (@to_install > 1 && !$gurpmi::options{auto}) ? ask_continue(N( "To satisfy dependencies, the following %d packages are going to be installed:\n%s\n", scalar(@to_install), join "\n", @to_install |