summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-06 15:54:45 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-06 15:54:45 +0000
commit90afa984baae658b977afbaf6f52ff70d2665127 (patch)
tree676041e6a6cab77fbf8c2841be19dff9f62330ae
parent6d4b82ccf955a867ce44e82e4dad4bb87e0ea456 (diff)
downloaddrakx-90afa984baae658b977afbaf6f52ff70d2665127.tar
drakx-90afa984baae658b977afbaf6f52ff70d2665127.tar.gz
drakx-90afa984baae658b977afbaf6f52ff70d2665127.tar.bz2
drakx-90afa984baae658b977afbaf6f52ff70d2665127.tar.xz
drakx-90afa984baae658b977afbaf6f52ff70d2665127.zip
perl_checker cleanups [backported from trunk]
-rw-r--r--perl-install/harddrake/data.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index c914c0d5c..d02028eac 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -451,7 +451,7 @@ our @tree =
string => N("Printer"),
icon => "hw_printer.png",
configurator => "$sbindir/printerdrake",
- detector => sub { },
+ detector => sub {},
# we do not check these b/c this need user interaction (auth, ...):
checked_on_boot => 0,
},
@@ -487,8 +487,8 @@ our @tree =
detector => sub {
f(grep { $_->{description} =~ /Keyboard/i || $_->{media_type} =~ /Subclass\|Keyboard/i ||
# USB devices are filtered out since we already catch them through probeall():
- $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' && $_->{description} !~ /PC Speaker/
- } @devices),
+ $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' && $_->{description} !~ /PC Speaker/;
+ } @devices);
},
checked_on_boot => 0,
},
@@ -510,8 +510,8 @@ our @tree =
detector => sub {
f(grep { $_->{driver} =~ /^Mouse:|^Tablet:/ || $_->{media_type} =~ /class\|Mouse/ ||
# USB devices are filtered out since we already catch them through probeall():
- $_->{bus} ne 'usb' && $_->{Handlers}{mouse}
- } @devices),
+ $_->{bus} ne 'usb' && $_->{Handlers}{mouse};
+ } @devices);
},
checked_on_boot => 1,
automatic => 1,