summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-31 13:37:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-31 13:37:48 +0000
commitc368441200c564f664efed9e83d43f95d168baf3 (patch)
tree0e2c4c44824a563adc441d38ffc9b3082ff142d7 /perl-install
parent76409d556897c231acaba324967ebb79ef20415e (diff)
downloaddrakx-c368441200c564f664efed9e83d43f95d168baf3.tar
drakx-c368441200c564f664efed9e83d43f95d168baf3.tar.gz
drakx-c368441200c564f664efed9e83d43f95d168baf3.tar.bz2
drakx-c368441200c564f664efed9e83d43f95d168baf3.tar.xz
drakx-c368441200c564f664efed9e83d43f95d168baf3.zip
do not detect USB joystics as UPSes (#15102)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index f9c9c03f2..f9290230f 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -280,7 +280,7 @@ our @tree =
string => N("Joystick"),
icon => "joystick.png",
configurator => "",
- detector => sub {},
+ detector => sub { f(grep { $_->{description} =~ /Joystick/ }) },
checked_on_boot => 0,
},