summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-01 18:28:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-01 18:28:23 +0000
commit9629507c573aebcf8c1051a7ed508097dcc0439c (patch)
treefb8dcdacb4dd28dcf4cc336a3cc8fcbf6fe47d0a /perl-install/install2.pm
parent082bfd4804b330fad0baebc484dfd5ab0adb49c9 (diff)
downloaddrakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar
drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar.gz
drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar.bz2
drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar.xz
drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.zip
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 926f547d5..9adfdbdaa 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -417,8 +417,8 @@ sub miscellaneous {
my $f = "$o->{prefix}/etc/sysconfig/usb";
my %usb = getVarsFromSh($f);
- $usb{MOUSE} = bool2yesno($o->{mouse}{device} eq "usbmouse");
- $usb{KEYBOARD} = bool2yesno(int grep { /^keybdev\.c: Adding keyboard/ } detect_devices::syslog());
+ $usb{MOUSE} = $o->{mouse}{device} eq "usbmouse" && "yes"
+ $usb{KEYBOARD} = (int grep { /^keybdev\.c: Adding keyboard/ } detect_devices::syslog()) && "yes";
$usb{ZIP} = bool2yesno(-d "/proc/scsi/usb");
setVarsInSh($f, \%usb);