aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 16:45:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 16:45:19 +0000
commitebe0d5e6c035d1ea98a00abdebe51e8e978323fe (patch)
treeb2c616280d27d3caa02415f0ad9bb985970cf84d /Rpmdrake/gui.pm
parentab4345a91872731a1521bd20f872f773672440ad (diff)
downloadrpmdrake-ebe0d5e6c035d1ea98a00abdebe51e8e978323fe.tar
rpmdrake-ebe0d5e6c035d1ea98a00abdebe51e8e978323fe.tar.gz
rpmdrake-ebe0d5e6c035d1ea98a00abdebe51e8e978323fe.tar.bz2
rpmdrake-ebe0d5e6c035d1ea98a00abdebe51e8e978323fe.tar.xz
rpmdrake-ebe0d5e6c035d1ea98a00abdebe51e8e978323fe.zip
implement --auto option (#16093)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index c726ac0b..56014e14 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -434,6 +434,7 @@ sub is_locale_available {
sub callback_choices {
my (undef, undef, undef, $choices) = @_;
+ return $choices->[0] if $::options{'auto'};
foreach my $pkg (@$choices) {
foreach ($pkg->requires_nosense) {
/locales-/ or next;