From c368441200c564f664efed9e83d43f95d168baf3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 31 Mar 2005 13:37:48 +0000 Subject: do not detect USB joystics as UPSes (#15102) --- perl-install/harddrake/data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, -- cgit v1.2.1