summaryrefslogtreecommitdiffstats
path: root/gurpmi
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-06 11:18:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-06 11:18:42 +0000
commit4db08b3d13a35be4d7627c1160c47381202ff551 (patch)
treebc7a31e7efc3ea2de01d2c6d8563b0d9da928111 /gurpmi
parent7892f9bb78b579fa587e2a89a2740230eeaca0e8 (diff)
downloadurpmi-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 'gurpmi')
-rw-r--r--gurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi b/gurpmi
index 0b92b3ac..72003a1f 100644
--- a/gurpmi
+++ b/gurpmi
@@ -58,7 +58,7 @@ sub proceed {
#- Ask question: save or install ?
#- change depending on the number of rpms, and on the presence of srpms
-if (@all_rpms + @gurpmi::names) {
+if (!$gurpmi::options{auto} && @all_rpms + @gurpmi::names) {
my $msg = (
@$srpms > 0
? N("You have selected a source package: