From 6c982566adb4319921850fd1be19581e690543b6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 15 May 2006 12:17:28 +0000 Subject: Don't ask for choices when --auto is provided --- gurpmi2 | 1 + 1 file changed, 1 insertion(+) (limited to 'gurpmi2') 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( -- cgit v1.2.1