summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
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(