summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-05-15 12:17:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-05-15 12:17:28 +0000
commit6c982566adb4319921850fd1be19581e690543b6 (patch)
treee4170c540f06198219f6b9c8a5803de7dc02dfb4 /gurpmi2
parent53ffb59ba80daf0ea4919e5785a54beb53e63b52 (diff)
downloadurpmi-6c982566adb4319921850fd1be19581e690543b6.tar
urpmi-6c982566adb4319921850fd1be19581e690543b6.tar.gz
urpmi-6c982566adb4319921850fd1be19581e690543b6.tar.bz2
urpmi-6c982566adb4319921850fd1be19581e690543b6.tar.xz
urpmi-6c982566adb4319921850fd1be19581e690543b6.zip
Don't ask for choices when --auto is provided
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi21
1 files changed, 1 insertions, 0 deletions
diff --git a/gurpmi2 b/gurpmi2
index 621d68b0..fe3674a7 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -133,6 +133,7 @@ sub configure_urpm {
#- Callback for choices
sub ask_choice {
my (undef, undef, undef, $choices) = @_;
+ return $choices->[0] if $gurpmi::options{auto};
my $radio;
my @radios = map {
$radio = Gtk2::RadioButton->new_with_label(